diff options
add pending txs but just autosign
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r-- | app/scripts/background.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index 3de152d0a..112791e02 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -12,7 +12,7 @@ var wallet = new IdentityManager() var zeroClient = MetaMaskProvider({ rpcUrl: 'https://rawtestrpc.metamask.io/', getAccounts: wallet.getAccounts.bind(wallet), - sendTransaction: wallet.confirmTransaction.bind(wallet), + signTransaction: wallet.addUnconfirmedTransaction.bind(wallet), }) wallet.setProvider(zeroClient) @@ -44,7 +44,7 @@ function handleInternalCommunication(remotePort){ signTransaction: wallet.signTransaction.bind(wallet), setLocked: wallet.setLocked.bind(wallet), getAccounts: wallet.getAccounts.bind(wallet), - confirmTransaction: wallet.confirmTransaction.bind(wallet), + signTransaction: wallet.signTransaction.bind(wallet), newBlock: wallet.newBlock.bind(wallet), setProvider: wallet.setProvider.bind(wallet), }) |