diff --git a/mempool/reactor.go b/mempool/reactor.go index dcb1844df..2ee98b97f 100644 --- a/mempool/reactor.go +++ b/mempool/reactor.go @@ -139,8 +139,8 @@ func (memR *MempoolReactor) broadcastTxRoutine(peer p2p.Peer) { memTx := next.Value.(*mempoolTx) // make sure the peer is up to date height := memTx.Height() - if peerState_i := peer.Get(types.PeerStateKey); peerState_i != nil { - peerState := peerState_i.(PeerState) + if peerStateI := peer.Get(types.PeerStateKey); peerStateI != nil { + peerState := peerStateI.(PeerState) peerHeight := peerState.GetHeight() if peerHeight < height-1 { // Allow for a lag of 1 block time.Sleep(peerCatchupSleepIntervalMS * time.Millisecond)