mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
trie : remove duplicated params type
This commit is contained in:
parent
7ed52c949e
commit
61db247a1c
2 changed files with 2 additions and 2 deletions
|
|
@ -89,6 +89,6 @@ func (l *MerkleLoader) OpenTrie(root common.Hash) (triestate.Trie, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// OpenStorageTrie opens the storage trie of an account.
|
// OpenStorageTrie opens the storage trie of an account.
|
||||||
func (l *MerkleLoader) OpenStorageTrie(stateRoot common.Hash, addrHash, root common.Hash) (triestate.Trie, error) {
|
func (l *MerkleLoader) OpenStorageTrie(stateRoot, addrHash, root common.Hash) (triestate.Trie, error) {
|
||||||
return New(StorageTrieID(stateRoot, addrHash, root), l.db)
|
return New(StorageTrieID(stateRoot, addrHash, root), l.db)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ type TrieLoader interface {
|
||||||
OpenTrie(root common.Hash) (Trie, error)
|
OpenTrie(root common.Hash) (Trie, error)
|
||||||
|
|
||||||
// OpenStorageTrie opens the storage trie of an account.
|
// OpenStorageTrie opens the storage trie of an account.
|
||||||
OpenStorageTrie(stateRoot common.Hash, addrHash, root common.Hash) (Trie, error)
|
OpenStorageTrie(stateRoot, addrHash, root common.Hash) (Trie, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set represents a collection of mutated states during a state transition.
|
// Set represents a collection of mutated states during a state transition.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue