diff options
author | Kevin Serrano <kevin.serrano@consensys.net> | 2017-05-24 05:26:37 +0800 |
---|---|---|
committer | Kevin Serrano <kevin.serrano@consensys.net> | 2017-05-24 05:26:37 +0800 |
commit | 31d17c9e25458cd47f8c18ec3b967aecff236ba6 (patch) | |
tree | cc933238d05bd3d32f2a2db3bfd4209617998800 /ui/app/components/pending-tx.js | |
parent | 97d19f0f7970feb6fb3170fd85211d0c765cabea (diff) | |
download | tangerine-wallet-browser-31d17c9e25458cd47f8c18ec3b967aecff236ba6.tar tangerine-wallet-browser-31d17c9e25458cd47f8c18ec3b967aecff236ba6.tar.gz tangerine-wallet-browser-31d17c9e25458cd47f8c18ec3b967aecff236ba6.tar.bz2 tangerine-wallet-browser-31d17c9e25458cd47f8c18ec3b967aecff236ba6.tar.lz tangerine-wallet-browser-31d17c9e25458cd47f8c18ec3b967aecff236ba6.tar.xz tangerine-wallet-browser-31d17c9e25458cd47f8c18ec3b967aecff236ba6.tar.zst tangerine-wallet-browser-31d17c9e25458cd47f8c18ec3b967aecff236ba6.zip |
Fix test, create new value for precision/scale
Diffstat (limited to 'ui/app/components/pending-tx.js')
-rw-r--r-- | ui/app/components/pending-tx.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js index 5b238187c..eed0fd9ae 100644 --- a/ui/app/components/pending-tx.js +++ b/ui/app/components/pending-tx.js @@ -156,6 +156,7 @@ PendingTx.prototype.render = function () { name: 'Gas Limit', value: gasBn, precision: 0, + scale: 0, // The hard lower limit for gas. min: MIN_GAS_LIMIT_BN.toString(10), suffix: 'UNITS', @@ -179,6 +180,7 @@ PendingTx.prototype.render = function () { name: 'Gas Price', value: gasPriceBn, precision: 9, + scale: 9, suffix: 'GWEI', min: MIN_GAS_PRICE_GWEI_BN.toString(10), style: { |