Skip to content

Commit

Permalink
chg: fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
maxweng committed Dec 8, 2023
1 parent 172003b commit 0d61b03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/bridgeToArb.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ const main = async () => {
callValue: callValue.toString()
});

const connector = await ethers.getContract(CONNECTOR_ADDR, CONNECTOR_ABI, signer);
const connector = await ethers.getContractAt(CONNECTOR_ABI, CONNECTOR_ADDR);

const bridgeTx = await connector.bridge(maxGas, gasPriceBid, submissionPriceWei, {
value: callValue
});
Expand Down

0 comments on commit 0d61b03

Please sign in to comment.