OSDN Git Service

feat: add node discovery and status check (#374)
[bytom/vapor.git] / netsync / peers / peer_test.go
index 27a1625..514d269 100644 (file)
@@ -38,6 +38,10 @@ func (bp *basePeer) ID() string {
        return bp.id
 }
 
+func (bp *basePeer) Moniker() string {
+       return ""
+}
+
 func (bp *basePeer) RemoteAddrHost() string {
        switch bp.ID() {
        case peer1ID: