From 664da72d91f78d2ed94020ea05961dfca0b76dde Mon Sep 17 00:00:00 2001 From: Jerry Date: Sat, 25 Nov 2023 12:00:55 -0800 Subject: [PATCH] Remove default api url from blockfrost context This fixes a bug where network and provided project_id mismatch. --- pycardano/backend/blockfrost.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycardano/backend/blockfrost.py b/pycardano/backend/blockfrost.py index 88447a38..e81b46d3 100644 --- a/pycardano/backend/blockfrost.py +++ b/pycardano/backend/blockfrost.py @@ -67,7 +67,7 @@ def __init__( self, project_id: str, network: Optional[Network] = None, - base_url: str = ApiUrls.preprod.value, + base_url: Optional[str] = None, ): if network is not None: warnings.warn(