We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e20135 commit e2d8f2dCopy full SHA for e2d8f2d
pycardano/backend/blockfrost.py
@@ -174,7 +174,7 @@ def protocol_param(self) -> ProtocolParameters:
174
175
def _get_script(self, script_hash: str) -> ScriptType:
176
script_type = self.api.script(script_hash).type
177
- if script_type.startswith("plutusV"):
+ if script_type.lower().startswith("plutusv"):
178
ps = PlutusScript.from_version(
179
int(script_type[-1]),
180
bytes.fromhex(self.api.script_cbor(script_hash).cbor),
0 commit comments