mpt: simplify makeStorageKey() interface
This commit is contained in:
parent
9719191770
commit
2bc493a839
6 changed files with 11 additions and 11 deletions
|
@ -251,7 +251,7 @@ func (tr *Trie) putToStore(n Node) {
|
|||
}
|
||||
tr.updateRefCount(n.Hash())
|
||||
} else {
|
||||
_ = tr.Store.Put(makeStorageKey(n.Hash().BytesBE()), n.Bytes())
|
||||
_ = tr.Store.Put(makeStorageKey(n.Hash()), n.Bytes())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue