mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-17 18:30:45 +00:00
Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
parent
5b071d1b0d
commit
63ff193931
1 changed files with 2 additions and 2 deletions
|
|
@ -576,8 +576,8 @@ func TestCommitSequenceStackTrie(t *testing.T) {
|
||||||
val = make([]byte, 1+prng.Intn(1024))
|
val = make([]byte, 1+prng.Intn(1024))
|
||||||
}
|
}
|
||||||
prng.Read(val)
|
prng.Read(val)
|
||||||
trie.TryUpdate(key, common.CopyBytes(val))
|
trie.TryUpdate(key, val)
|
||||||
stTrie.TryUpdate(key, common.CopyBytes(val))
|
stTrie.TryUpdate(key, val)
|
||||||
}
|
}
|
||||||
// Flush trie -> database
|
// Flush trie -> database
|
||||||
root, _ := trie.Commit(nil)
|
root, _ := trie.Commit(nil)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue