applied PR comment

This commit is contained in:
Jasmina Malicevic
2022-05-24 11:17:07 +02:00
parent f8d3bf8e6d
commit e515dd4a8e
+3 -1
View File
@@ -248,7 +248,9 @@ func (r *Reactor) handleMessage(ctx context.Context, envelope *p2p.Envelope, blo
case *bcproto.BlockResponse:
block, err := types.BlockFromProto(msg.Block)
if err != nil {
r.logger.Error("failed to convert block from proto", "err", err)
r.logger.Error("failed to convert block from proto",
"peer", envelope.From,
"err", err)
return err
}
var extCommit *types.ExtendedCommit