Update history.go

This commit is contained in:
0xFloki 2026-01-08 20:00:41 +01:00 committed by GitHub
parent f51870e40e
commit da39c005e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -180,17 +180,6 @@ func newStorageIdentQuery(address common.Address, addressHash common.Hash, stora
} }
} }
// newTrienodeIdentQuery constructs a state identifier for a trie node.
// the addressHash denotes the address hash of the associated account;
// the path denotes the path of the node within the trie;
//
// nolint:unused
func newTrienodeIdentQuery(addrHash common.Hash, path []byte) stateIdentQuery {
return stateIdentQuery{
stateIdent: newTrienodeIdent(addrHash, string(path)),
}
}
// history defines the interface of historical data, shared by stateHistory // history defines the interface of historical data, shared by stateHistory
// and trienodeHistory. // and trienodeHistory.
type history interface { type history interface {