Skip to content

Commit 7527215

Browse files
Sheldonfjl
authored andcommitted
core/state: fix random test args (#19255)
1 parent 8c249cb commit 7527215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/state/statedb_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ func newTestAction(addr common.Address, r *rand.Rand) testAction {
296296
if !action.noAddr {
297297
nameargs = append(nameargs, addr.Hex())
298298
}
299-
for _, i := range action.args {
299+
for i := range action.args {
300300
action.args[i] = rand.Int63n(100)
301301
nameargs = append(nameargs, fmt.Sprint(action.args[i]))
302302
}

0 commit comments

Comments
 (0)