Changed Trie methods to conform to geth v1.11.6
This commit is contained in:
parent
9ece32ad92
commit
53047f4c71
@ -228,8 +228,7 @@ type Context interface {
|
|||||||
|
|
||||||
type Trie interface {
|
type Trie interface {
|
||||||
GetKey([]byte) []byte
|
GetKey([]byte) []byte
|
||||||
TryGet(key []byte) ([]byte, error)
|
GetAccount(address Address) (*StateAccount, error)
|
||||||
TryGetAccount(address Address) (*StateAccount, error)
|
|
||||||
Hash() Hash
|
Hash() Hash
|
||||||
NodeIterator(startKey []byte) NodeIterator
|
NodeIterator(startKey []byte) NodeIterator
|
||||||
Prove(key []byte, fromLevel uint, proofDb KeyValueWriter) error
|
Prove(key []byte, fromLevel uint, proofDb KeyValueWriter) error
|
||||||
|
Loading…
Reference in New Issue
Block a user