File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,13 @@ def _sign_versioned_transaction(
9292 wallet_index = account_keys .index (wallet .pubkey ())
9393
9494 signers = list (versioned_transaction .signatures )
95- signers [wallet_index ] = wallet # type: ignore
9695
97- return VersionedTransaction (
98- versioned_transaction .message , signers # type: ignore
96+ message_bytes = bytes (versioned_transaction .message )
97+ your_signature = wallet .sign_message (message_bytes )
98+ signers [wallet_index ] = your_signature
99+
100+ return VersionedTransaction .populate (
101+ versioned_transaction .message , signers
99102 )
100103
101104 def _serialize_versioned_transaction (
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " jup-python-sdk"
3- version = " 1.1.0 "
3+ version = " 1.1.1 "
44description = " Python SDK for Jupiter Exchange APIs."
55authors = [" Fiji <charismoutafidis@gmail.com>" ]
66license = " MIT"
@@ -18,7 +18,7 @@ classifiers = [
1818python = " ^3.9"
1919httpx = " ^0.28.1"
2020pydantic = " ^2.11.3"
21- solders = " ^0.26 .0"
21+ solders = " ^0.27 .0"
2222base58 = " ^2.1.1"
2323solana = " ^0.36.6"
2424
You can’t perform that action at this time.
0 commit comments