Skip to content

Commit 708c400

Browse files
pxrlnicholaspai
andauthored
fix: [N14] Removed leftover cast (#30) (#442)
Change supplied by Nick. Co-authored-by: nicholaspai <9457025+nicholaspai@users.noreply.github.com>
1 parent fd1e426 commit 708c400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contracts/chain-adapters/Optimism_Adapter.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ contract Optimism_Adapter is CrossDomainEnabled, AdapterInterface, CircleCCTPAda
8181
* @param message Data to send to target.
8282
*/
8383
function relayMessage(address target, bytes calldata message) external payable override {
84-
sendCrossDomainMessage(target, uint32(L2_GAS_LIMIT), message);
84+
sendCrossDomainMessage(target, L2_GAS_LIMIT, message);
8585
emit MessageRelayed(target, message);
8686
}
8787

0 commit comments

Comments
 (0)