Skip to content

Commit

Permalink
Add justification to log
Browse files Browse the repository at this point in the history
  • Loading branch information
dimartiro committed Nov 9, 2024
1 parent 2f10469 commit 6b461bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot/sync/block_importer.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (b *blockImporter) processBlockData(blockData types.BlockData, origin Block
round, setID, err = b.finalityGadget.VerifyBlockJustification(
blockData.Header.Hash(), blockData.Header.Number, *blockData.Justification)
if err != nil {
return fmt.Errorf("verifying justification for block %s: %w", blockData.Header.Hash().String(), err)
return fmt.Errorf("verifying justification for block %s justification %v: %w", blockData.Header.Hash().String(), *&blockData.Justification, err)
}
}

Expand Down

0 comments on commit 6b461bd

Please sign in to comment.