diff --git a/trie/trie_test.go b/trie/trie_test.go index b8b8edb33e..a8c0311707 100644 --- a/trie/trie_test.go +++ b/trie/trie_test.go @@ -792,7 +792,7 @@ func makeAccounts(size int) (addresses [][20]byte, accounts [][]byte) { var ( nonce = uint64(random.Int63()) root = types.EmptyRootHash - code = crypto.Keccak256(nil) + code = types.EmptyCodeHash[:] ) // The big.Rand function is not deterministic with regards to 64 vs 32 bit systems, // and will consume different amount of data from the rand source.