mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-20 11:46:44 +00:00
trie: using EmptyCodeHash
This commit is contained in:
parent
127d1f42bb
commit
98c2af00dc
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue