Skip to content

Commit

Permalink
Also allow list as parameter to RawPlutusData
Browse files Browse the repository at this point in the history
  • Loading branch information
nielstron committed Feb 17, 2024
1 parent 7ef5632 commit ce492d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycardano/plutus.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ def to_json(self, **kwargs) -> str:

@classmethod
@limit_primitive_type(
PlutusData, dict, int, bytes, IndefiniteList, RawCBOR, CBORTag
PlutusData, dict, int, bytes, list, IndefiniteList, RawCBOR, CBORTag
) # equal to RawDatum parameter list
def from_primitive(cls: Type[RawPlutusData], value: RawDatum) -> RawPlutusData:
return cls(value)
Expand Down

0 comments on commit ce492d8

Please sign in to comment.