diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-18 22:33:22 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-18 22:33:22 +0800 |
commit | 5ad473d7581b92811c3a3e035274a82fc5568f57 (patch) | |
tree | 9d34ffc04b208a1923fa181938e7366bca2573d7 /core/transaction_pool.go | |
parent | db494170dc819b1eb0d267b6e1ab36c6cfb63569 (diff) | |
download | dexon-5ad473d7581b92811c3a3e035274a82fc5568f57.tar.gz dexon-5ad473d7581b92811c3a3e035274a82fc5568f57.tar.zst dexon-5ad473d7581b92811c3a3e035274a82fc5568f57.zip |
Moved methods to messages
Diffstat (limited to 'core/transaction_pool.go')
-rw-r--r-- | core/transaction_pool.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/transaction_pool.go b/core/transaction_pool.go index da91ec568..58c2255a4 100644 --- a/core/transaction_pool.go +++ b/core/transaction_pool.go @@ -131,12 +131,6 @@ func (pool *TxPool) ValidateTransaction(tx *types.Transaction) error { return fmt.Errorf("Insufficient amount in sender's (%x) account", tx.From()) } - if tx.IsContract() { - if tx.GasPrice().Cmp(big.NewInt(minGasPrice)) < 0 { - return fmt.Errorf("Gasprice too low, %s given should be at least %d.", tx.GasPrice, minGasPrice) - } - } - // Increment the nonce making each tx valid only once to prevent replay // attacks |