mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 19:30:44 +00:00
change nodeLoc return type from pointer to value in layer interface
This commit is contained in:
parent
37f9119a19
commit
aee43db834
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ type layer interface {
|
|||
// Note:
|
||||
// - the returned node is not a copy, please don't modify it.
|
||||
// - no error will be returned if the requested node is not found in database.
|
||||
node(owner common.Hash, path []byte, depth int) ([]byte, common.Hash, *nodeLoc, error)
|
||||
node(owner common.Hash, path []byte, depth int) ([]byte, common.Hash, nodeLoc, error)
|
||||
|
||||
// account directly retrieves the account RLP associated with a particular
|
||||
// hash in the slim data format. An error will be returned if the read
|
||||
|
|
|
|||
Loading…
Reference in a new issue