TryUpdate => Update

This commit is contained in:
i-norden 2023-05-04 09:18:04 -05:00
parent 0eb2c0328a
commit e13c156d83

View File

@ -119,7 +119,7 @@ func (lt *localTrie) Add(idx int, rawdata []byte) error {
if err != nil {
panic(err)
}
return lt.trie.TryUpdate(key, rawdata)
return lt.trie.Update(key, rawdata)
}
// rootHash returns the computed trie root.