Skip to content

Commit f4cd871

Browse files
committed
Buyer and seller are signers for currency creator program ixns
1 parent 38964aa commit f4cd871

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/solana/currencycreator/instructions_buy_tokens.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func NewBuyTokensInstruction(
5454
{
5555
PublicKey: accounts.Buyer,
5656
IsWritable: true,
57-
IsSigner: false,
57+
IsSigner: true,
5858
},
5959
{
6060
PublicKey: accounts.Pool,

pkg/solana/currencycreator/instructions_sell_tokens.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func NewSellTokensInstruction(
5454
{
5555
PublicKey: accounts.Seller,
5656
IsWritable: true,
57-
IsSigner: false,
57+
IsSigner: true,
5858
},
5959
{
6060
PublicKey: accounts.Pool,

0 commit comments

Comments
 (0)