OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c102f0
)
minor
author
HAOYUatHZ
<haoyu@protonmail.com>
Wed, 28 Aug 2019 06:33:31 +0000
(14:33 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Wed, 28 Aug 2019 06:33:31 +0000
(14:33 +0800)
netsync/chainmgr/tool_test.go
patch
|
blob
|
history
diff --git
a/netsync/chainmgr/tool_test.go
b/netsync/chainmgr/tool_test.go
index
612c8f1
..
9e4bf63
100644
(file)
--- 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
}