diff options
author | Sheldon <11510383@mail.sustc.edu.cn> | 2019-07-09 16:32:28 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2019-07-09 16:32:27 +0800 |
commit | 7527215a68eaac8a880be83f3f1ded0ed82f6650 (patch) | |
tree | 3f20b385d1a6894945c6cde712e09f952951c245 | |
parent | 8c249cb82f713c5c5b5a8160c92da7fe145e799d (diff) | |
download | go-tangerine-7527215a68eaac8a880be83f3f1ded0ed82f6650.tar go-tangerine-7527215a68eaac8a880be83f3f1ded0ed82f6650.tar.gz go-tangerine-7527215a68eaac8a880be83f3f1ded0ed82f6650.tar.bz2 go-tangerine-7527215a68eaac8a880be83f3f1ded0ed82f6650.tar.lz go-tangerine-7527215a68eaac8a880be83f3f1ded0ed82f6650.tar.xz go-tangerine-7527215a68eaac8a880be83f3f1ded0ed82f6650.tar.zst go-tangerine-7527215a68eaac8a880be83f3f1ded0ed82f6650.zip |
core/state: fix random test args (#19255)
-rw-r--r-- | core/state/statedb_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/state/statedb_test.go b/core/state/statedb_test.go index c2d2b2f69..c78ef38fd 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])) } |