Skip to content

Commit

Permalink
delivery hash comment
Browse files Browse the repository at this point in the history
  • Loading branch information
derpy-duck committed Jul 14, 2023
1 parent 496a00d commit 90d57d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HelloWormhole.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ contract HelloWormhole is IWormholeReceiver {
bytes[] memory, // additionalVaas
bytes32, // address that called 'sendPayloadToEvm' (HelloWormhole contract address)
uint16 sourceChain,
bytes32 // deliveryHash
bytes32 // deliveryHash - this can be stored in a mapping deliveryHash => bool to prevent duplicate deliveries
) public payable override {
require(msg.sender == address(wormholeRelayer), "Only relayer allowed");
(string memory greeting, address sender) = abi.decode(payload, (string, address));
Expand Down

0 comments on commit 90d57d4

Please sign in to comment.