Skip to content

Commit f775d2d

Browse files
Patch num wallets (#124)
1 parent 55c64c4 commit f775d2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

activities/loadtest/loadtest.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ func generateLoadTestSpec(ctx context.Context, logger *zap.Logger, chain PetriCh
137137
loadTestSpec.ChainID = chainID
138138

139139
loadTestSpec.BaseMnemonic = baseMnemonic
140-
loadTestSpec.NumWallets = numWallets
140+
if loadTestSpec.NumWallets == 0 {
141+
loadTestSpec.NumWallets = numWallets
142+
}
141143

142144
err := loadTestSpec.Validate()
143145
if err != nil {

0 commit comments

Comments
 (0)