From 43ccca1c97c7b455abc3599bfc3024f0346a81d9 Mon Sep 17 00:00:00 2001 From: luhuimao Date: Fri, 19 Jul 2019 15:53:35 +0800 Subject: [PATCH] modify function 'move' -> 'transfer' --- src/appwallet.js | 2 +- src/wallet.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/appwallet.js b/src/appwallet.js index 1eb30d3..9f60ffb 100755 --- a/src/appwallet.js +++ b/src/appwallet.js @@ -1315,7 +1315,7 @@ export class Wallet extends React.Component { '发送交易', '请稍后...', async () => { - const transaction = web3.SystemProgram.move( + const transaction = web3.SystemProgram.transfer( this.web3solAccount.publicKey, new web3.PublicKey(this.state.destTokenAccountPublicKey), this.state.transferTokenAmount, diff --git a/src/wallet.js b/src/wallet.js index 05643e9..97a34c6 100644 --- a/src/wallet.js +++ b/src/wallet.js @@ -1053,7 +1053,7 @@ export class Wallet extends React.Component { '发送交易', '请稍后...', async () => { - const transaction = web3.SystemProgram.move( + const transaction = web3.SystemProgram.transfer( this.web3solAccount.publicKey, new web3.PublicKey(this.state.recipientPublicKey), this.state.recipientAmount,