@@ -85,7 +86,7 @@ func (e *EchoProtocol) onEchoResponse(s inet.Stream) {
...
@@ -85,7 +86,7 @@ func (e *EchoProtocol) onEchoResponse(s inet.Stream) {
assert.True(req.Message==data.Message,nil,"Expected echo to respond with request message")
assert.True(req.Message==data.Message,nil,"Expected echo to respond with request message")
log.Printf("%s: Received Echo response from %s. Message id:%s. Message: %s.",s.Conn().LocalPeer(),s.Conn().RemotePeer(),data.MessageData.Id,data.Message)
log.Printf("%s: Received echo response from %s. Message id:%s. Message: %s.",s.Conn().LocalPeer(),s.Conn().RemotePeer(),data.MessageData.Id,data.Message)