diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-21 21:52:42 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-21 21:52:42 +0800 |
commit | a7ad9c309bf72a9f2b4f12001034e1842ca55319 (patch) | |
tree | fa573f69742e3e7cf9b2a8d124a27c9d4c8d3c2b /p2p/discover/node.go | |
parent | ce862ee7589a0780cebc8a7bb1cf6a75193d55a0 (diff) | |
parent | 38c7c589e4a1b08baaab5b81de6aca7fa853d284 (diff) | |
download | go-tangerine-a7ad9c309bf72a9f2b4f12001034e1842ca55319.tar go-tangerine-a7ad9c309bf72a9f2b4f12001034e1842ca55319.tar.gz go-tangerine-a7ad9c309bf72a9f2b4f12001034e1842ca55319.tar.bz2 go-tangerine-a7ad9c309bf72a9f2b4f12001034e1842ca55319.tar.lz go-tangerine-a7ad9c309bf72a9f2b4f12001034e1842ca55319.tar.xz go-tangerine-a7ad9c309bf72a9f2b4f12001034e1842ca55319.tar.zst go-tangerine-a7ad9c309bf72a9f2b4f12001034e1842ca55319.zip |
Merge branch 'develop' into conversion
Diffstat (limited to 'p2p/discover/node.go')
-rw-r--r-- | p2p/discover/node.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/p2p/discover/node.go b/p2p/discover/node.go index de2588258..e1130e0b5 100644 --- a/p2p/discover/node.go +++ b/p2p/discover/node.go @@ -143,12 +143,12 @@ type NodeID [nodeIDBits / 8]byte // NodeID prints as a long hexadecimal number. func (n NodeID) String() string { - return fmt.Sprintf("%#x", n[:]) + return fmt.Sprintf("%x", n[:]) } // The Go syntax representation of a NodeID is a call to HexID. func (n NodeID) GoString() string { - return fmt.Sprintf("discover.HexID(\"%#x\")", n[:]) + return fmt.Sprintf("discover.HexID(\"%x\")", n[:]) } // HexID converts a hex string to a NodeID. |