good morning!!!!

Skip to content
Snippets Groups Projects
Commit 7527215a authored by Sheldon's avatar Sheldon Committed by Felix Lange
Browse files

core/state: fix random test args (#19255)

parent 8c249cb8
No related branches found
No related tags found
No related merge requests found
......@@ -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]))
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment