Skip to content

Commit cda567f

Browse files
committed
chore(ZkStack_Adapter): Remove unused canonicalTxHash
This variable is no longer used. Removing it addresses a warning being emitted by solc.
1 parent f3887a5 commit cda567f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

contracts/chain-adapters/ZkStack_Adapter.sol

+1-3
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ contract ZkStack_Adapter is AdapterInterface, CircleCCTPAdapter {
122122
*/
123123
function relayMessage(address target, bytes memory message) external payable override {
124124
uint256 txBaseCost = _computeETHTxCost(L2_GAS_LIMIT);
125-
126-
// Returns the hash of the requested L2 transaction. This hash can be used to follow the transaction status.
127-
bytes32 canonicalTxHash = BRIDGE_HUB.requestL2TransactionDirect{ value: txBaseCost }(
125+
BRIDGE_HUB.requestL2TransactionDirect{ value: txBaseCost }(
128126
BridgeHubInterface.L2TransactionRequestDirect({
129127
chainId: CHAIN_ID,
130128
mintValue: txBaseCost,

0 commit comments

Comments
 (0)