diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-10-18 04:05:45 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-10-18 04:05:45 +0800 |
commit | 827d7553fc843a75b7a4306c7549505f799609d7 (patch) | |
tree | 1c14d688553014175c7fb4fe8c5e0f88048f0db5 /app | |
parent | 91f43fa2130e84a32ebecf902696a0b897cdd095 (diff) | |
download | tangerine-wallet-browser-827d7553fc843a75b7a4306c7549505f799609d7.tar tangerine-wallet-browser-827d7553fc843a75b7a4306c7549505f799609d7.tar.gz tangerine-wallet-browser-827d7553fc843a75b7a4306c7549505f799609d7.tar.bz2 tangerine-wallet-browser-827d7553fc843a75b7a4306c7549505f799609d7.tar.lz tangerine-wallet-browser-827d7553fc843a75b7a4306c7549505f799609d7.tar.xz tangerine-wallet-browser-827d7553fc843a75b7a4306c7549505f799609d7.tar.zst tangerine-wallet-browser-827d7553fc843a75b7a4306c7549505f799609d7.zip |
Restore hex prefix to gas price
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/idStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index 9846c84f0..9d0ca7f19 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -286,7 +286,7 @@ IdentityStore.prototype.addGasBuffer = function (gasHex) { var gas = new BN(gasHex, 16) var buffer = new BN('100000', 10) var result = gas.add(buffer) - return result.toString(16) + return ethUtil.addHexPrefix(result.toString(16)) } // comes from metamask ui |