Skip to content

Commit 42e4b41

Browse files
authored
The VM account must be writable in the VM TransferForSwap instruction (#157)
1 parent da2dbc6 commit 42e4b41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

solana/vm/instructions_transfer_for_swap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func NewTransferForSwapInstruction(
5353
},
5454
{
5555
PublicKey: accounts.Vm,
56-
IsWritable: false,
56+
IsWritable: true,
5757
IsSigner: false,
5858
},
5959
{

0 commit comments

Comments
 (0)