mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
swarm/network: Fix bzzAddr.String()
Signed-off-by: Lewis Marshall <lewis@lmars.net>
This commit is contained in:
parent
39992d5e1b
commit
7411066425
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ func (self *bzzAddr) Update(a OverlayAddr) OverlayAddr {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *bzzAddr) String() string {
|
func (self *bzzAddr) String() string {
|
||||||
return fmt.Sprintf("%x <%x>", self.OAddr, self.UAddr)
|
return fmt.Sprintf("%x <%s>", self.OAddr, self.UAddr)
|
||||||
}
|
}
|
||||||
|
|
||||||
// RandomAddr is a utility method generating an address from a public key
|
// RandomAddr is a utility method generating an address from a public key
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue