Fix empty payment

This commit is contained in:
Jordan Prince 2021-06-02 22:08:11 -04:00
parent 53f7d1abcd
commit 886f205cab
2 changed files with 6 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import { PublicKey } from '@solana/web3.js';
import { TokenSwapLayout, TokenSwapLayoutV1 } from '../models/tokenSwap';
export const STORE = new PublicKey(
'7KwpjEy7KBpZTBErE3niBUNxWGAQTPo9kZzkgEoP6dfR',
'rdqczuXQfpAJiboC36wPb6ZMexmxZfJuSeHtpSJN3bv',
);
export const WRAPPED_SOL_MINT = new PublicKey(

View File

@ -82,6 +82,11 @@ export async function emptyPaymentAccount(
isSigner: false,
isWritable: false,
},
{
pubkey: PROGRAM_IDS.store,
isSigner: false,
isWritable: false,
},
{
pubkey: vault,
isSigner: false,