Skip to content

Commit

Permalink
Update pkg/trie/triedb/triedb.go
Browse files Browse the repository at this point in the history
Co-authored-by: Haiko Schol <[email protected]>
  • Loading branch information
timwu20 and haikoschol authored Nov 13, 2024
1 parent d75f965 commit 847c827
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/trie/triedb/triedb.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,6 @@ func (t *TrieDB[H, Hasher]) inspect(
inspector func(Node, *nibbles.Nibbles) (action, error),
) (*inspectResult, error) {
// shallow copy since key will change offset through inspector
// currentKey := *key
currentKey := key.Clone()
switch n := stored.(type) {
case NewStoredNode:
Expand Down

0 comments on commit 847c827

Please sign in to comment.