Skip to content

Commit

Permalink
update per review
Browse files Browse the repository at this point in the history
  • Loading branch information
tsachiherman committed Feb 3, 2025
1 parent 76607c2 commit 8a050f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/dsmr/certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ func (c *ChunkCertificate) Verify(
if err != nil {
return fmt.Errorf("failed to initialize unsigned warp message: %w", err)
}
vs, err := warp.GetCanonicalValidatorSetFromChainID(ctx, pChainState, pChainHeight, msg.SourceChainID)
canonicalValidatorSet, err := warp.GetCanonicalValidatorSetFromChainID(ctx, pChainState, pChainHeight, msg.SourceChainID)
if err != nil {
return fmt.Errorf("failed to retrieve validators set: %w", err)
}
if err := c.Signature.Verify(
msg,
networkID,
vs,
canonicalValidatorSet,
quorumNum,
quorumDen,
); err != nil {
Expand Down

0 comments on commit 8a050f7

Please sign in to comment.