We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a81545 commit f6adcf9Copy full SHA for f6adcf9
pycardano/backend/ogmios.py
@@ -344,8 +344,10 @@ def _utxos_kupo(self, address: str) -> List[UTxO]:
344
script = requests.get(kupo_script_url).json()
345
if script["language"] == "plutus:v2":
346
script = PlutusV2Script(bytes.fromhex(script["script"]))
347
+ script = _try_fix_script(script_hash, script)
348
elif script["language"] == "plutus:v1":
349
script = PlutusV1Script(bytes.fromhex(script["script"]))
350
351
else:
352
raise ValueError("Unknown plutus script type")
353
0 commit comments