Bugfix: prevent an error during deposit data generation

This commit is contained in:
Zahary Karadjov 2020-09-25 17:11:17 +03:00
parent ba95f07d1f
commit b6262bfe46
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 2 additions and 1 deletions

View File

@ -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