mpt: simplify makeStorageKey() interface
This commit is contained in:
parent
9719191770
commit
2bc493a839
6 changed files with 11 additions and 11 deletions
|
@ -274,7 +274,7 @@ func TestTrie_PutBatchHash(t *testing.T) {
|
|||
}
|
||||
tr1.Collapse(1)
|
||||
tr2.Collapse(1)
|
||||
key := makeStorageKey(tr1.root.(*BranchNode).Children[2].Hash().BytesBE())
|
||||
key := makeStorageKey(tr1.root.(*BranchNode).Children[2].Hash())
|
||||
require.NoError(t, tr1.Store.Delete(key))
|
||||
require.NoError(t, tr2.Store.Delete(key))
|
||||
testIncompletePut(t, ps, 1, tr1, tr2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue