We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1f1073 commit 46fee13Copy full SHA for 46fee13
pkg/solana/cvm/instructions_close_swap_account_if_empty.go
@@ -20,6 +20,7 @@ type CloseSwapAccountIfEmptyInstructionAccounts struct {
20
Swapper ed25519.PublicKey
21
SwapPda ed25519.PublicKey
22
SwapAta ed25519.PublicKey
23
+ Destination ed25519.PublicKey
24
}
25
26
func NewCloseSwapAccountIfEmptyInstruction(
@@ -67,6 +68,11 @@ func NewCloseSwapAccountIfEmptyInstruction(
67
68
IsWritable: true,
69
IsSigner: false,
70
},
71
+ {
72
+ PublicKey: accounts.Destination,
73
+ IsWritable: true,
74
+ IsSigner: false,
75
+ },
76
{
77
PublicKey: SPL_TOKEN_PROGRAM_ID,
78
IsWritable: false,
0 commit comments