Skip to content

Commit 3034cd9

Browse files
nielstroncffls
authored andcommitted
Simple fix plutusv3 ogmios
1 parent 3ca745a commit 3034cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycardano/backend/ogmios_v6.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def _utxo_from_ogmios_result(self, utxo: OgmiosUtxo) -> UTxO:
263263
# TODO: Need to test with native scripts
264264
if script["language"] == "plutus:v3":
265265
script = PlutusV3Script(bytes.fromhex(script["cbor"]))
266-
if script["language"] == "plutus:v2":
266+
elif script["language"] == "plutus:v2":
267267
script = PlutusV2Script(bytes.fromhex(script["cbor"]))
268268
elif script["language"] == "plutus:v1":
269269
script = PlutusV1Script(bytes.fromhex(script["cbor"]))

0 commit comments

Comments
 (0)