Skip to content

Commit 84bea1b

Browse files
committed
fix(relayer): changes variable typo
1 parent 3eebb3f commit 84bea1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

relayer-cli/src/utils/ethers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ function getVeaOutbox(veaOutboxAddress: string, privateKey: string, web3Provider
5151
switch (bridge.chain) {
5252
case "sepolia":
5353
case "mainnet":
54-
return VeaOutboxArbToEth__factory.connect(veaInboxAddress, getWallet(privateKey, web3ProviderURL));
54+
return VeaOutboxArbToEth__factory.connect(veaOutboxAddress, getWallet(privateKey, web3ProviderURL));
5555
case "chiado":
5656
case "gnosis":
57-
return VeaOutboxArbToGnosis__factory.connect(veaInboxAddress, getWallet(privateKey, web3ProviderURL));
57+
return VeaOutboxArbToGnosis__factory.connect(veaOutboxAddress, getWallet(privateKey, web3ProviderURL));
5858
default:
5959
throw new Error(`Unsupported chainId: ${chainId}`);
6060
}

0 commit comments

Comments
 (0)