From b0b14c9b4ed77737c7e6cd1d77db04f1b5a93b18 Mon Sep 17 00:00:00 2001 From: HAOYUatHZ Date: Wed, 28 Aug 2019 14:33:31 +0800 Subject: [PATCH] minor --- netsync/chainmgr/tool_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/netsync/chainmgr/tool_test.go b/netsync/chainmgr/tool_test.go index 612c8f1e..9e4bf63e 100644 --- a/netsync/chainmgr/tool_test.go +++ b/netsync/chainmgr/tool_test.go @@ -38,6 +38,7 @@ func NewP2PPeer(addr, id string, flag consensus.ServiceFlag) *P2PPeer { async: false, } } + func (p *P2PPeer) Addr() net.Addr { return p.ip } -- 2.11.0