Skip to content

Commit b239c0c

Browse files
fix fees from SOL/Token swap
1 parent 947317e commit b239c0c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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 = "12.4.2"
3+
version = "12.4.3"
44
description = "Solana Agent Kit"
55
authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
66
license = "MIT"

sakit/utils/swap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ async def trade(
152152
lamports=int(input_amount * LAMPORTS_PER_SOL * (fee_percentage / 100)),
153153
)
154154
)
155+
instructions.append(ix_fee)
155156
else:
156157
mint_pubkey = Pubkey.from_string(input_mint)
157158
resp = await wallet.client.get_account_info(mint_pubkey)

0 commit comments

Comments
 (0)