From 81521049792cabd5c95b1c0cdcac69d2e01fdc2a Mon Sep 17 00:00:00 2001 From: petarTxFusion Date: Fri, 19 Jan 2024 16:44:50 +0100 Subject: [PATCH] fix: `withdraw` token bridge address --- zksync2/account/wallet_l2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zksync2/account/wallet_l2.py b/zksync2/account/wallet_l2.py index 5a7720e..31eb044 100644 --- a/zksync2/account/wallet_l2.py +++ b/zksync2/account/wallet_l2.py @@ -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(), )