mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 13:56:23 +00:00
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…
x
Reference in New Issue
Block a user