Skip to content

Commit

Permalink
improve log style when Verify vote attestation fail (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanBSC committed Apr 4, 2023
1 parent 270a7ab commit d173cbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion consensus/parlia/parlia.go
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,8 @@ func (p *Parlia) verifyCascadingFields(chain consensus.ChainHeaderReader, header
if chain.Config().IsLynn(header.Number) {
return err
}
log.Warn("Verify vote attestation failed", "error", err, "block", header)
log.Warn("Verify vote attestation failed", "error", err, "hash", header.Hash(), "number", header.Number,
"parent", header.ParentHash, "coinbase", header.Coinbase, "extra", common.Bytes2Hex(header.Extra))
}

// All basic checks passed, verify the seal and return
Expand Down

0 comments on commit d173cbf

Please sign in to comment.