From cd68e3060fd8c099bf65d5682e10e2b5407b1194 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Tue, 8 Oct 2013 17:45:05 -0500 Subject: [PATCH] Remove extra msg in log message. --- peer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peer.go b/peer.go index 727fcfe3..2f90512e 100644 --- a/peer.go +++ b/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