From a416b2dc7548ddd4b4d2fe0adba204671e5ff9b4 Mon Sep 17 00:00:00 2001 From: Juliya Smith Date: Tue, 5 Dec 2023 13:12:59 -0600 Subject: [PATCH] fix: get_api_confs fix --- ape_safe/client/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ape_safe/client/__init__.py b/ape_safe/client/__init__.py index 00e7fc1..19d302c 100644 --- a/ape_safe/client/__init__.py +++ b/ape_safe/client/__init__.py @@ -96,7 +96,7 @@ def _all_transactions(self) -> Iterator[SafeApiTxData]: url = data.get("next") def get_confirmations(self, safe_tx_hash: SafeTxID) -> Iterator[SafeTxConfirmation]: - url = f"multisig-transactions/{str(safe_tx_hash.replace('8', '0'))}/confirmations" + url = f"multisig-transactions/{str(safe_tx_hash)}/confirmations" while url: response = self._get(url) data = response.json()