Skip to content

Commit

Permalink
Fix VersionedTransaction.Message type hint
Browse files Browse the repository at this point in the history
`message` property can be either `Message` or `MessageV0`.
  • Loading branch information
bantalon committed Aug 14, 2024
1 parent c10419c commit 47abb04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/solders/transaction.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class VersionedTransaction:
@signatures.setter
def signatures(self, signatures: Sequence[Signature]) -> None: ...
@property
def message(self) -> Message: ...
def message(self) -> Union[Message, MessageV0]: ...
@staticmethod
def populate(
message: Union[Message, MessageV0], signatures: Sequence[Signature]
Expand Down

0 comments on commit 47abb04

Please sign in to comment.