Remove extra msg in log message.
This commit is contained in:
parent
f4dac3abf0
commit
cd68e3060f
1 changed files with 1 additions and 1 deletions
2
peer.go
2
peer.go
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue