Skip to content

Commit 2220568

Browse files
v14.1.10 (#41)
1 parent 0d7e49d commit 2220568

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "sakit"
3-
version = "14.1.9"
3+
version = "14.1.10"
44
description = "Solana Agent Kit"
55
authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
66
license = "MIT"

sakit/privy_trigger.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,8 @@ async def _sign_and_execute( # pragma: no cover
415415
send_result = await send_raw_transaction_with_priority(
416416
rpc_url=self._rpc_url,
417417
tx_bytes=tx_bytes,
418-
skip_confirmation=False, # Now we can wait - blockhash is from our RPC
418+
skip_preflight=False, # Run preflight to catch signature/signer errors
419+
skip_confirmation=False, # Wait for confirmation - blockhash is from our RPC
419420
confirm_timeout=30.0,
420421
)
421422

sakit/utils/wallet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ async def send_raw_transaction_with_priority( # pragma: no cover
177177
logger.debug(f"Could not get priority fee estimate: {fee_error}")
178178

179179
# Send the transaction
180+
logger.info(f"Sending transaction with skip_preflight={skip_preflight}")
180181
result = await client.send_raw_transaction(
181182
tx_bytes,
182183
opts=TxOpts(

0 commit comments

Comments
 (0)