Skip to content

Commit d76ac04

Browse files
Reverted change for plutus v2 scripts
1 parent 9938b37 commit d76ac04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycardano/backend/ogmios_v6.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def _utxo_from_ogmios_result(self, utxo: OgmiosUtxo) -> UTxO:
265265
# TODO: Need to test with native scripts
266266
if script["language"] == "plutus:v3":
267267
script = PlutusV3Script(bytes.fromhex(script["cbor"]))
268-
if script["language"] == "plutus:v2":
268+
elif script["language"] == "plutus:v2":
269269
script = PlutusV2Script(bytes.fromhex(script["cbor"]))
270270
elif script["language"] == "plutus:v1":
271271
script = PlutusV1Script(bytes.fromhex(script["cbor"]))

0 commit comments

Comments
 (0)