Skip to content
This repository was archived by the owner on May 21, 2024. It is now read-only.

Commit a6503c4

Browse files
author
Jeannette
committed
Test failure fixes
1 parent 9362fa6 commit a6503c4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

core/state/statedb_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,8 @@ func TestStateChangesEmittedFromCommit(t *testing.T) {
115115

116116
func getNewModifiedAccount() ModifiedAccount {
117117
//emptyRoot is the known root hash of an empty trie.
118-
//var emptyRoot = common.HexToHash("56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421")
119-
//var emptyCode = common.HexToHash("c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470")
120-
//var emptyCodeHash = crypto.Keccak256Hash(nil)
118+
var emptyRoot = common.HexToHash("56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421")
119+
var emptyCodeHash = types.EmptyCodeHash.Bytes()
121120

122121
return ModifiedAccount{
123122
Storage: make(map[common.Hash]common.Hash),

0 commit comments

Comments
 (0)