diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-03-30 03:50:47 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-03-30 03:50:47 +0800 |
commit | 9bdc169712471eb5e4421e09fc13b6f0e5bbdadd (patch) | |
tree | ef97ed5700cfd5459db94792a12f0ada2aef87b9 /app | |
parent | d6dee7e748dbb61e3ae1a8f30f05b132badf951d (diff) | |
download | tangerine-wallet-browser-9bdc169712471eb5e4421e09fc13b6f0e5bbdadd.tar tangerine-wallet-browser-9bdc169712471eb5e4421e09fc13b6f0e5bbdadd.tar.gz tangerine-wallet-browser-9bdc169712471eb5e4421e09fc13b6f0e5bbdadd.tar.bz2 tangerine-wallet-browser-9bdc169712471eb5e4421e09fc13b6f0e5bbdadd.tar.lz tangerine-wallet-browser-9bdc169712471eb5e4421e09fc13b6f0e5bbdadd.tar.xz tangerine-wallet-browser-9bdc169712471eb5e4421e09fc13b6f0e5bbdadd.tar.zst tangerine-wallet-browser-9bdc169712471eb5e4421e09fc13b6f0e5bbdadd.zip |
Fix signing bug
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/idStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index af76cb7bc..ea873e627 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -285,7 +285,7 @@ function IdManagement(opts) { this.keyStore = opts.keyStore this.derivedKey = opts.derivedKey - this.hdPathString = opts.hdPathString + this.hdPathString = "m/44'/60'/0'/0" this.getAddresses = function(){ return keyStore.getAddresses(this.hdPathString).map(function(address){ return '0x'+address }) @@ -301,7 +301,7 @@ function IdManagement(opts) { txParams.nonce = ethUtil.addHexPrefix(txParams.nonce) var tx = new Transaction(txParams) var rawTx = '0x'+tx.serialize().toString('hex') - return '0x'+LightwalletSigner.signTx(this.keyStore, this.derivedKey, rawTx, txParams.from) + return '0x'+LightwalletSigner.signTx(this.keyStore, this.derivedKey, rawTx, txParams.from, this.hdPathString) } this.getSeed = function(){ |