mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 03:10:48 +00:00
change nodeLoc.string() receiver to value type
This commit is contained in:
parent
ea359a6e65
commit
37f9119a19
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue