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