Removed logging from stateTrie update function.
This commit is contained in:
parent
95319e5252
commit
f3c906a3a8
@ -21,7 +21,6 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"encoding/gob"
|
"encoding/gob"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"io"
|
"io"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
@ -213,9 +212,7 @@ func (st *StackTrie) TryUpdate(key, value []byte) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (st *StackTrie) Update(key, value []byte) {
|
func (st *StackTrie) Update(key, value []byte) {
|
||||||
if err := st.TryUpdate(key, value); err != nil {
|
st.TryUpdate(key, value)
|
||||||
fmt.Println("Unhandled trie error in StackTrie.Update:", err)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (st *StackTrie) Reset() {
|
func (st *StackTrie) Reset() {
|
||||||
|
Loading…
Reference in New Issue
Block a user