Skip to content

Commit

Permalink
fix WormholeOverride.sign() by using provided params
Browse files Browse the repository at this point in the history
  • Loading branch information
nonergodic committed Aug 28, 2024
1 parent 4d9c157 commit ce7ad75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testing/WormholeOverride.sol
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ library WormholeOverride {
vaa.payload = pm.payload;

bytes memory encodedBody = abi.encodePacked(
uint32(block.timestamp),
pm.timestamp,
pm.nonce,
wormhole.chainId(),
pm.emitterChainId,
pm.emitterAddress,
pm.sequence,
pm.consistencyLevel,
Expand Down

0 comments on commit ce7ad75

Please sign in to comment.