s/move/transfer in system program to match solana
This commit is contained in:
committed by
Michael Vines
parent
7f02185998
commit
c1bbb9b291
@ -69,7 +69,7 @@ showBalance()
|
||||
.then(airDrop)
|
||||
.then(() => {
|
||||
console.log(`\n== Move 1 lamport to approver1`);
|
||||
const transaction = solanaWeb3.SystemProgram.move(
|
||||
const transaction = solanaWeb3.SystemProgram.transfer(
|
||||
account1.publicKey,
|
||||
approver1.publicKey,
|
||||
1,
|
||||
@ -79,7 +79,7 @@ showBalance()
|
||||
.then(confirmTransaction)
|
||||
.then(() => {
|
||||
console.log(`\n== Move 1 lamport to approver2`);
|
||||
const transaction = solanaWeb3.SystemProgram.move(
|
||||
const transaction = solanaWeb3.SystemProgram.transfer(
|
||||
account1.publicKey,
|
||||
approver2.publicKey,
|
||||
1,
|
||||
|
Reference in New Issue
Block a user