mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 04:01:55 +00:00
fix test cases
This commit is contained in:
@@ -88,6 +88,12 @@ func (na *NetAddress) Less(other interface{}) bool {
|
||||
}
|
||||
|
||||
func (na *NetAddress) String() string {
|
||||
if na.str == "" {
|
||||
na.str = net.JoinHostPort(
|
||||
na.IP.String(),
|
||||
strconv.FormatUint(uint64(na.Port), 10),
|
||||
)
|
||||
}
|
||||
return na.str
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user