diff --git a/pycardano/backend/blockfrost.py b/pycardano/backend/blockfrost.py index 5008382b..1d25a6f8 100644 --- a/pycardano/backend/blockfrost.py +++ b/pycardano/backend/blockfrost.py @@ -174,7 +174,7 @@ def protocol_param(self) -> ProtocolParameters: def _get_script(self, script_hash: str) -> ScriptType: script_type = self.api.script(script_hash).type - if script_type.startswith("plutusV"): + if script_type.lower().startswith("plutusv"): ps = PlutusScript.from_version( int(script_type[-1]), bytes.fromhex(self.api.script_cbor(script_hash).cbor),