diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-10 21:03:26 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-10 21:03:26 +0800 |
commit | 639f1fd3396419fb712b875cfacc333538fcc4f3 (patch) | |
tree | 2fce7fec5fdfd54b1193d87319780544a4d6caee | |
parent | 67e5689f874940c99e4742a5c8c2a6a194cb2003 (diff) | |
download | dexon-639f1fd3396419fb712b875cfacc333538fcc4f3.tar.gz dexon-639f1fd3396419fb712b875cfacc333538fcc4f3.tar.zst dexon-639f1fd3396419fb712b875cfacc333538fcc4f3.zip |
Log received and send to
-rw-r--r-- | peer.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -252,7 +252,7 @@ func (p *Peer) writeMessage(msg *ethwire.Msg) { } } - peerlogger.DebugDetailln("<=", msg.Type, msg.Data) + peerlogger.DebugDetailf("(%v) <= %v %v\n", p.conn.RemoteAddr(), msg.Type, msg.Data) err := ethwire.WriteMessage(p.conn, msg) if err != nil { @@ -326,7 +326,7 @@ func (p *Peer) HandleInbound() { peerlogger.Debugln(err) } for _, msg := range msgs { - peerlogger.DebugDetailln("=>", msg.Type, msg.Data) + peerlogger.DebugDetailf("(%v) => %v %v\n", p.conn.RemoteAddr(), msg.Type, msg.Data) switch msg.Type { case ethwire.MsgHandshakeTy: |