Bugfix: prevent an error during deposit data generation
This commit is contained in:
parent
ba95f07d1f
commit
b6262bfe46
|
@ -377,7 +377,8 @@ proc pickPasswordAndSaveWallet(rng: var BrHmacDrbgContext,
|
|||
continue
|
||||
break
|
||||
|
||||
let nextAccount = if config.walletsCmd == WalletsCmd.restore:
|
||||
let nextAccount = if config.cmd == wallets and
|
||||
config.walletsCmd == WalletsCmd.restore:
|
||||
config.restoredDepositsCount
|
||||
else:
|
||||
none Natural
|
||||
|
|
Loading…
Reference in New Issue