Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed May 31, 2024
1 parent 644249e commit d978d97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/src/SP1Tendermint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ contract SP1Tendermint {
bytes calldata publicValues
) public {
(
bytes32 trustedHeaderHash,
bytes32 targetHeaderHash,
uint64 trustedHeight,
uint64 targetHeight
) = abi.decode(publicValues, (bytes32, bytes32, uint64, uint64));
uint64 targetHeight,
bytes32 trustedHeaderHash,
bytes32 targetHeaderHash
) = abi.decode(publicValues, (uint64, uint64, bytes32, bytes32));

if (
trustedHeaderHash != latestHeader && trustedHeight != latestHeight
Expand Down

0 comments on commit d978d97

Please sign in to comment.