Skip to content

Commit

Permalink
Update lib/grandpa/message_handler.go
Browse files Browse the repository at this point in the history
Co-authored-by: JimboJ <[email protected]>
  • Loading branch information
timwu20 and jimjbrettj authored Sep 5, 2024
1 parent 0d0794f commit 0aea946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grandpa/message_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ func (s *Service) VerifyBlockJustification(finalizedHash common.Hash, finalizedN
justification, err := client_grandpa.DecodeGrandpaJustificationVerifyFinalizes[hash.H256, uint32, runtime.BlakeTwo256](
encoded, target, setID, *voters)
if err != nil {
return 0, 0, fmt.Errorf("while decoding and verifying justification: %w", err)
return 0, 0, fmt.Errorf("decoding and verifying justification: %w", err)
}

return justification.Justification.Round, setID, nil
Expand Down

0 comments on commit 0aea946

Please sign in to comment.