diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/state/statedb_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/state/statedb_test.go b/core/state/statedb_test.go index c78ef38fd..bf073bc94 100644 --- a/core/state/statedb_test.go +++ b/core/state/statedb_test.go @@ -86,15 +86,15 @@ func TestIntermediateLeaks(t *testing.T) { // Modify the transient state. for i := byte(0); i < 255; i++ { - modify(transState, common.Address{byte(i)}, i, 0) + modify(transState, common.Address{i}, i, 0) } // Write modifications to trie. transState.IntermediateRoot(false) // Overwrite all the data with new values in the transient database. for i := byte(0); i < 255; i++ { - modify(transState, common.Address{byte(i)}, i, 99) - modify(finalState, common.Address{byte(i)}, i, 99) + modify(transState, common.Address{i}, i, 99) + modify(finalState, common.Address{i}, i, 99) } // Commit and cross check the databases. |