Skip to content

Commit cde9f05

Browse files
committed
fix: allow certificates to be a List or NonEmptyOrderedSet
1 parent 503fb68 commit cde9f05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pycardano/transaction.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,9 @@ class TransactionBody(MapCBORSerializable):
577577

578578
ttl: Optional[int] = field(default=None, metadata={"key": 3, "optional": True})
579579

580-
certificates: Optional[List[Certificate]] = field(
580+
certificates: Optional[
581+
Union[List[Certificate], NonEmptyOrderedSet[Certificate]]
582+
] = field(
581583
default=None,
582584
metadata={
583585
"key": 4,

0 commit comments

Comments
 (0)