We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f03090f commit 9fc6158Copy full SHA for 9fc6158
cmd/pingpong/runCmd.go
@@ -438,7 +438,9 @@ var runCmd = &cobra.Command{
438
cfg.GeneratedAccountSampleMethod = generatedAccountSampleMethod
439
}
440
// check if numAccounts is greater than the length of the mnemonic list, if provided
441
- if cfg.DeterministicKeys && cfg.NumPartAccounts > uint32(len(cfg.GeneratedAccountsMnemonics)) {
+ if cfg.DeterministicKeys &&
442
+ len(cfg.GeneratedAccountsMnemonics) > 0 &&
443
+ cfg.NumPartAccounts > uint32(len(cfg.GeneratedAccountsMnemonics)) {
444
reportErrorf("numAccounts is greater than number of account mnemonics provided")
445
446
0 commit comments