From ec153ed97edf67cd94bc5e8dc7ac8112dd6a978a Mon Sep 17 00:00:00 2001 From: alex017 Date: Mon, 22 Dec 2025 10:47:55 +0100 Subject: [PATCH] Update history.go --- triedb/pathdb/history.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/triedb/pathdb/history.go b/triedb/pathdb/history.go index d78999f218..fb3e1b8944 100644 --- a/triedb/pathdb/history.go +++ b/triedb/pathdb/history.go @@ -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 // and trienodeHistory. type history interface {