mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
wizard: allow viewonly wallet restores
This commit is contained in:
parent
10926644bf
commit
45efb415cd
1 changed files with 4 additions and 0 deletions
|
@ -75,6 +75,10 @@ Rectangle {
|
|||
viewKeyLine.error = !result[1] && viewKeyLineLength != 0
|
||||
spendKeyLine.error = !result[2] && spendKeyLineLength != 0
|
||||
|
||||
// allow valid viewOnly
|
||||
if (spendKeyLine.text.length === 0)
|
||||
return (result[0] && result[1])
|
||||
|
||||
return (result[0] && result[1] && result[2])
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue