diff options
author | Paul Bouchon <mail@bitpshr.net> | 2018-04-27 22:42:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-27 22:42:02 +0800 |
commit | 1bad3fa25782a322859df8942abf39b08777f13d (patch) | |
tree | 2993d825e0692d14ff4835fa08f0e6ff3d42d5c5 /old-ui | |
parent | 21349dd612f1eed0e4f97e4ebf27bed05d5b8992 (diff) | |
download | tangerine-wallet-browser-1bad3fa25782a322859df8942abf39b08777f13d.tar tangerine-wallet-browser-1bad3fa25782a322859df8942abf39b08777f13d.tar.gz tangerine-wallet-browser-1bad3fa25782a322859df8942abf39b08777f13d.tar.bz2 tangerine-wallet-browser-1bad3fa25782a322859df8942abf39b08777f13d.tar.lz tangerine-wallet-browser-1bad3fa25782a322859df8942abf39b08777f13d.tar.xz tangerine-wallet-browser-1bad3fa25782a322859df8942abf39b08777f13d.tar.zst tangerine-wallet-browser-1bad3fa25782a322859df8942abf39b08777f13d.zip |
Allow transactions with 0-gwei gas price (#4073)
* Allow transactions with 0-gwei gas price
* Add tests to verify tx with 0 gas fee
* Conditionally use CurrencyInput in CurrencyDisplay
Diffstat (limited to 'old-ui')
-rw-r--r-- | old-ui/app/components/pending-tx.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/old-ui/app/components/pending-tx.js b/old-ui/app/components/pending-tx.js index cd4189fc4..c8132539c 100644 --- a/old-ui/app/components/pending-tx.js +++ b/old-ui/app/components/pending-tx.js @@ -16,8 +16,7 @@ const addressSummary = util.addressSummary const nameForAddress = require('../../lib/contract-namer') const BNInput = require('./bn-as-decimal-input') -// corresponds with 0.1 GWEI -const MIN_GAS_PRICE_BN = new BN('100000000') +const MIN_GAS_PRICE_BN = new BN('0') const MIN_GAS_LIMIT_BN = new BN('21000') module.exports = PendingTx |