From 37f9119a19124d654cf104718381787cb2fdc48a Mon Sep 17 00:00:00 2001 From: sashass1315 Date: Wed, 11 Feb 2026 14:10:07 +0200 Subject: [PATCH] change nodeLoc.string() receiver to value type --- triedb/pathdb/reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triedb/pathdb/reader.go b/triedb/pathdb/reader.go index f55e015ee6..aaa64e902c 100644 --- a/triedb/pathdb/reader.go +++ b/triedb/pathdb/reader.go @@ -47,7 +47,7 @@ type nodeLoc struct { } // string returns the string representation of node location. -func (loc *nodeLoc) string() string { +func (loc nodeLoc) string() string { return fmt.Sprintf("loc: %s, depth: %d", loc.loc, loc.depth) }