Removed logging from stateTrie update function.

This commit is contained in:
philip-morlier 2023-09-11 12:22:59 -07:00
parent 95319e5252
commit f3c906a3a8

View File

@ -21,7 +21,6 @@ import (
"bytes"
"encoding/gob"
"errors"
"fmt"
"io"
"sync"
@ -213,9 +212,7 @@ func (st *StackTrie) TryUpdate(key, value []byte) error {
}
func (st *StackTrie) Update(key, value []byte) {
if err := st.TryUpdate(key, value); err != nil {
fmt.Println("Unhandled trie error in StackTrie.Update:", err)
}
st.TryUpdate(key, value)
}
func (st *StackTrie) Reset() {