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
|
continue
|
||||||
break
|
break
|
||||||
|
|
||||||
let nextAccount = if config.walletsCmd == WalletsCmd.restore:
|
let nextAccount = if config.cmd == wallets and
|
||||||
|
config.walletsCmd == WalletsCmd.restore:
|
||||||
config.restoredDepositsCount
|
config.restoredDepositsCount
|
||||||
else:
|
else:
|
||||||
none Natural
|
none Natural
|
||||||
|
|
Loading…
Reference in New Issue