Skip to content

Commit

Permalink
comment out old print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
williambanfield committed Nov 1, 2022
1 parent 648393b commit 93c8c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/switch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (tr *TestReactor) ReceiveEnvelope(e Envelope) {
if tr.logMessages {
tr.mtx.Lock()
defer tr.mtx.Unlock()
fmt.Printf("Received: %X, %X\n", e.ChannelID, e.Message)
// fmt.Printf("Received: %X, %X\n", e.ChannelID, e.Message)
tr.msgsReceived[e.ChannelID] = append(tr.msgsReceived[e.ChannelID], PeerMessage{Contents: e.Message, Counter: tr.msgsCounter})
tr.msgsCounter++
}
Expand Down

0 comments on commit 93c8c1f

Please sign in to comment.