Skip to content

Commit

Permalink
fix: withdraw bridge address
Browse files Browse the repository at this point in the history
  • Loading branch information
petarTxFusion committed Jan 19, 2024
1 parent eadc023 commit 9286319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zksync2/account/wallet_l2.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def withdraw(self, tx: WithdrawTransaction):
else:
tx.bridge_address = self.get_l2_bridge_contracts().weth
bridge = self._zksync_web3.zksync.contract(
address=Web3.to_checksum_address(tx.bridge_address),
address=Web3.to_checksum_address(Web3.to_checksum_address(tx.bridge_address)),
abi=l2_bridge_abi_default(),
)
transaction = bridge.functions.withdraw(
Expand Down

0 comments on commit 9286319

Please sign in to comment.