fix argument order
This commit is contained in:
parent
b37390433c
commit
da7a97c76e
|
@ -36,8 +36,8 @@ import { createMint, getOrCreateAssociatedTokenAccount, mintTo, transfer } from
|
|||
mint,
|
||||
fromTokenAccount.address,
|
||||
fromWallet.publicKey,
|
||||
[],
|
||||
1000000000
|
||||
1000000000,
|
||||
[]
|
||||
);
|
||||
console.log('mint tx:', signature);
|
||||
|
||||
|
@ -48,8 +48,8 @@ import { createMint, getOrCreateAssociatedTokenAccount, mintTo, transfer } from
|
|||
fromTokenAccount.address,
|
||||
toTokenAccount.address,
|
||||
fromWallet.publicKey,
|
||||
[],
|
||||
1000000000
|
||||
1000000000,
|
||||
[]
|
||||
);
|
||||
console.log('transfer tx:', signature);
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue