Skip to content

Commit

Permalink
refactor: refactor isWithdrawFinalized to use l2SharedBridge
Browse files Browse the repository at this point in the history
  • Loading branch information
petarTxFusion committed Jun 6, 2024
1 parent 663862a commit f37c759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zksync2/account/wallet_l1.py
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ def is_withdrawal_finalized(self, withdraw_hash, index: int = 0):
Web3.to_checksum_address(sender), abi=l2_shared_bridge_abi_default()
)
l1_bridge = self._eth_web3.eth.contract(
Web3.to_checksum_address(l2_bridge.functions.l1Bridge().call()),
Web3.to_checksum_address(l2_bridge.functions.l1SharedBridge().call()),
abi=l1_shared_bridge_abi_default(),
)

Expand Down

0 comments on commit f37c759

Please sign in to comment.