Skip to content

Commit 62d2342

Browse files
committed
adjust comment after recent change
1 parent f72c2d5 commit 62d2342

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contracts/metatx/ERC2771Forwarder.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ contract ERC2771Forwarder is EIP712, Nonces {
9494
*/
9595
function execute(ForwardRequestData calldata request) public payable virtual {
9696
// We make sure that msg.value and request.value match exactly.
97-
// If the request is invalid or the call reverts, requireValidRequest ensures this value won't be lost.
97+
// If the request is invalid or the call reverts, this whole function
98+
// will revert, ensuring value isn't stuck.
9899
if (msg.value != request.value) {
99100
revert ERC2771ForwarderMismatchedValue(request.value, msg.value);
100101
}

0 commit comments

Comments
 (0)