Browse Source

evidence: omit bytes field (#5745)

Follow-up to https://github.com/tendermint/tendermint/pull/5743
pull/5749/head
Anton Kaliaev 4 years ago
committed by GitHub
parent
commit
2c16ae99ee
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      evidence/reactor.go

+ 1
- 1
evidence/reactor.go View File

@ -71,7 +71,7 @@ func (evR *Reactor) AddPeer(peer p2p.Peer) {
func (evR *Reactor) Receive(chID byte, src p2p.Peer, msgBytes []byte) {
evis, err := decodeMsg(msgBytes)
if err != nil {
evR.Logger.Error("Error decoding message", "src", src, "chId", chID, "err", err, "bytes", msgBytes)
evR.Logger.Error("Error decoding message", "src", src, "chId", chID, "err", err)
evR.Switch.StopPeerForError(src, err)
return
}


Loading…
Cancel
Save