aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/background.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-01-18 15:31:49 +0800
committerkumavis <aaron@kumavis.me>2016-01-18 15:31:49 +0800
commit4922aa5b8bc76d60264cac20f45b61bce7fc478d (patch)
treef5e8694fef9d0954a94f602ae16e82f56cb60eb1 /app/scripts/background.js
parent2f079dfdd158b787659e3f87d5c5c442b2f05e7a (diff)
downloadtangerine-wallet-browser-4922aa5b8bc76d60264cac20f45b61bce7fc478d.tar
tangerine-wallet-browser-4922aa5b8bc76d60264cac20f45b61bce7fc478d.tar.gz
tangerine-wallet-browser-4922aa5b8bc76d60264cac20f45b61bce7fc478d.tar.bz2
tangerine-wallet-browser-4922aa5b8bc76d60264cac20f45b61bce7fc478d.tar.lz
tangerine-wallet-browser-4922aa5b8bc76d60264cac20f45b61bce7fc478d.tar.xz
tangerine-wallet-browser-4922aa5b8bc76d60264cac20f45b61bce7fc478d.tar.zst
tangerine-wallet-browser-4922aa5b8bc76d60264cac20f45b61bce7fc478d.zip
add pending txs but just autosign
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r--app/scripts/background.js4
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),
})