Skip to content

Commit 2845b56

Browse files
committed
Github Action: Update contract
1 parent f821034 commit 2845b56

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tutorials/token-bridge-e2e/packages/l1-contracts/contracts/TokenPortal.sol

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ contract TokenPortal {
124124
fee: _fee
125125
});
126126
bytes32 entryKey = inbox.cancelL2Message(message, address(this));
127-
// release the funds to msg.sender (since the content hash (& message key) is derived by hashing the caller,
127+
// release the funds to msg.sender (since the content hash (& entry key) is derived by hashing the caller,
128128
// we confirm that msg.sender is same as `_canceller` supplied when creating the message)
129129
underlying.transfer(msg.sender, _amount);
130130
return entryKey;
@@ -166,7 +166,7 @@ contract TokenPortal {
166166
fee: _fee
167167
});
168168
bytes32 entryKey = inbox.cancelL2Message(message, address(this));
169-
// release the funds to msg.sender (since the content hash (& message key) is derived by hashing the caller,
169+
// release the funds to msg.sender (since the content hash (& entry key) is derived by hashing the caller,
170170
// we confirm that msg.sender is same as `_canceller` supplied when creating the message)
171171
underlying.transfer(msg.sender, _amount);
172172
return entryKey;

tutorials/uniswap-integration-e2e/packages/l1-contracts/contracts/TokenPortal.sol

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ contract TokenPortal {
124124
fee: _fee
125125
});
126126
bytes32 entryKey = inbox.cancelL2Message(message, address(this));
127-
// release the funds to msg.sender (since the content hash (& message key) is derived by hashing the caller,
127+
// release the funds to msg.sender (since the content hash (& entry key) is derived by hashing the caller,
128128
// we confirm that msg.sender is same as `_canceller` supplied when creating the message)
129129
underlying.transfer(msg.sender, _amount);
130130
return entryKey;
@@ -166,7 +166,7 @@ contract TokenPortal {
166166
fee: _fee
167167
});
168168
bytes32 entryKey = inbox.cancelL2Message(message, address(this));
169-
// release the funds to msg.sender (since the content hash (& message key) is derived by hashing the caller,
169+
// release the funds to msg.sender (since the content hash (& entry key) is derived by hashing the caller,
170170
// we confirm that msg.sender is same as `_canceller` supplied when creating the message)
171171
underlying.transfer(msg.sender, _amount);
172172
return entryKey;

0 commit comments

Comments
 (0)