Skip to content

Commit

Permalink
fix: withdraw token bridge address
Browse files Browse the repository at this point in the history
  • Loading branch information
petarTxFusion authored and danijelTxFusion committed Jan 19, 2024
1 parent d238e0c commit 8152104
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 @@ -156,7 +156,7 @@ def withdraw(self, tx: WithdrawTransaction):
tx.bridge_address = self.get_l2_bridge_contracts().weth
bridge = self._zksync_web3.zksync.contract(
address=Web3.to_checksum_address(
Web3.to_checksum_address(tx.bridge_address)
Web3.to_checksum_address(Web3.to_checksum_address(tx.bridge_address))
),
abi=l2_bridge_abi_default(),
)
Expand Down

0 comments on commit 8152104

Please sign in to comment.