From 1bad3fa25782a322859df8942abf39b08777f13d Mon Sep 17 00:00:00 2001 From: Paul Bouchon Date: Fri, 27 Apr 2018 10:42:02 -0400 Subject: 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 --- old-ui/app/components/pending-tx.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'old-ui/app/components/pending-tx.js') 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 -- cgit v1.2.3