diff --git a/core/state/statedb_test.go b/core/state/statedb_test.go index c2d2b2f692..c78ef38fd3 100644 --- a/core/state/statedb_test.go +++ b/core/state/statedb_test.go @@ -296,7 +296,7 @@ func newTestAction(addr common.Address, r *rand.Rand) testAction { if !action.noAddr { nameargs = append(nameargs, addr.Hex()) } - for _, i := range action.args { + for i := range action.args { action.args[i] = rand.Int63n(100) nameargs = append(nameargs, fmt.Sprint(action.args[i])) }