Skip to content

Commit

Permalink
Update l2ToL1.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspai committed May 19, 2024
1 parent 75720d7 commit 722faba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/finalizer/utils/cctp/l2ToL1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
Signer,
TOKEN_SYMBOLS_MAP,
assert,
compareAddressesSimple,
getBlockForTimestamp,
getCurrentTime,
getNetworkName,
Expand Down Expand Up @@ -75,7 +76,7 @@ async function resolveRelatedTxnReceipts(
.filter(
(bridgeEvent) =>
bridgeEvent.blockNumber >= latestBlockToFinalize &&
bridgeEvent.l2TokenAddress === TOKEN_SYMBOLS_MAP._USDC.addresses[sourceChainId]
compareAddressesSimple(bridgeEvent.l2TokenAddress, TOKEN_SYMBOLS_MAP._USDC.addresses[sourceChainId])
)
.forEach((bridgeEvent) => uniqueTxnHashes.add(bridgeEvent.transactionHash));

Expand Down

0 comments on commit 722faba

Please sign in to comment.