mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
works?
This commit is contained in:
parent
036e37809e
commit
43b69c4cfb
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ func (t *NomtTrie) Hash() common.Hash {
|
|||
// Update the page tree for persistent storage.
|
||||
// stemKVs is already sorted, so skip the redundant sort in db.Update.
|
||||
if len(stemKVs) > 0 {
|
||||
if _, err := t.nomtDB.UpdateSorted(stemKVs); err != nil {
|
||||
if _, err := t.nomtDB.Update(stemKVs); err != nil {
|
||||
log.Error("NOMT page tree update failed", "err", err)
|
||||
return t.root
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue