diff --git a/statediff/indexer/ipld/shared.go b/statediff/indexer/ipld/shared.go index 89c0a285f..34aed949b 100644 --- a/statediff/indexer/ipld/shared.go +++ b/statediff/indexer/ipld/shared.go @@ -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.