Remove extra msg in log message.

This commit is contained in:
Dave Collins 2013-10-08 17:45:05 -05:00
parent f4dac3abf0
commit cd68e3060f

View file

@ -831,7 +831,7 @@ func (p *peer) writeMessage(msg btcwire.Message) {
// Use closures to log expensive operations so they are only run when the
// logging level requires it.
log.Tracef("%v", newLogClosure(func() string {
return "[PEER] msg" + spew.Sdump(msg)
return "[PEER] " + spew.Sdump(msg)
}))
log.Tracef("%v", newLogClosure(func() string {
var buf bytes.Buffer