Skip to content

Commit da4383c

Browse files
fix(relayer): var name
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 732c5a1 commit da4383c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: relayer-cli/src/utils/ethers.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ function getVeaInboxProvider(veaInboxAddress: string, privateKey: string, rpc: J
4646
}
4747
}
4848

49-
function getVeaOutbox(veaInboxAddress: string, privateKey: string, web3ProviderURL: string, chainId: number) {
50-
const bridges = getBridgeConfig(chainId);
51-
switch (bridges.chain) {
49+
function getVeaOutbox(veaOutboxAddress: string, privateKey: string, web3ProviderURL: string, chainId: number) {
50+
const bridge = getBridgeConfig(chainId);
51+
switch (bridge.chain) {
5252
case "sepolia":
5353
case "mainnet":
5454
return VeaOutboxArbToEth__factory.connect(veaInboxAddress, getWallet(privateKey, web3ProviderURL));

0 commit comments

Comments
 (0)