Skip to content

Commit

Permalink
Bugfix logging value
Browse files Browse the repository at this point in the history
  • Loading branch information
tnasu committed Dec 23, 2021
1 parent 07b8e1c commit 7404d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion light/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func VerifyAdjacent(
if !bytes.Equal(untrustedHeader.ValidatorsHash, trustedHeader.NextValidatorsHash) {
err := fmt.Errorf("expected old header next validators (%X) to match those from new header (%X)",
trustedHeader.NextValidatorsHash,
untrustedHeader.VotersHash,
untrustedHeader.ValidatorsHash,
)
return err
}
Expand Down

0 comments on commit 7404d2f

Please sign in to comment.