From 4adc9c0fdcb0c7abc1107ddc036551b0d70ccf82 Mon Sep 17 00:00:00 2001 From: Anil Chinchawale Date: Mon, 1 Apr 2019 14:33:59 +0530 Subject: [PATCH] Update tx_pool.go --- core/tx_pool.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/tx_pool.go b/core/tx_pool.go index 3d7be4c11d..2a66d9c2a1 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -630,10 +630,10 @@ func (pool *TxPool) validateTx(tx *types.Transaction, local bool) error { } } - minGasDeploySMC := new(big.Int).Mul(new(big.Int).SetUint64(10), new(big.Int).SetUint64(params.Ether)) - if tx.To() == nil && (tx.Cost().Cmp(minGasDeploySMC) < 0 || tx.GasPrice().Cmp(new(big.Int).SetUint64(10000*params.Shannon)) < 0) { - return ErrMinDeploySMC - } + // minGasDeploySMC := new(big.Int).Mul(new(big.Int).SetUint64(10), new(big.Int).SetUint64(params.Ether)) + // if tx.To() == nil && (tx.Cost().Cmp(minGasDeploySMC) < 0 || tx.GasPrice().Cmp(new(big.Int).SetUint64(10000*params.Shannon)) < 0) { + // return ErrMinDeploySMC + // } return nil }