Skip to content

Commit ce492d8

Browse files
committed
Also allow list as parameter to RawPlutusData
1 parent 7ef5632 commit ce492d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycardano/plutus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ def to_json(self, **kwargs) -> str:
846846

847847
@classmethod
848848
@limit_primitive_type(
849-
PlutusData, dict, int, bytes, IndefiniteList, RawCBOR, CBORTag
849+
PlutusData, dict, int, bytes, list, IndefiniteList, RawCBOR, CBORTag
850850
) # equal to RawDatum parameter list
851851
def from_primitive(cls: Type[RawPlutusData], value: RawDatum) -> RawPlutusData:
852852
return cls(value)

0 commit comments

Comments
 (0)