diff --git a/blockchain/v0/reactor_test.go b/blockchain/v0/reactor_test.go index b5fee74ce..30c45bd28 100644 --- a/blockchain/v0/reactor_test.go +++ b/blockchain/v0/reactor_test.go @@ -246,7 +246,7 @@ func simulateRouter(primary *reactorTestSuite, suites []*reactorTestSuite) { if envelope.Broadcast { for _, s := range suites { // broadcast to everyone except source - if s.peerID != envelope.From { + if s.peerID != primary.peerID { s.blockchainInCh <- p2p.Envelope{ From: primary.peerID, To: s.peerID, @@ -267,8 +267,8 @@ func simulateRouter(primary *reactorTestSuite, suites []*reactorTestSuite) { }() go func() { - for range primary.blockchainPeerErrCh { - // drop peer errors + for pErr := range primary.blockchainPeerErrCh { + primary.reactor.Logger.Debug("dropped peer error", "err", pErr.Err) } }() }