aboutsummaryrefslogtreecommitdiffstats
path: root/core/transaction_pool.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-12-18 22:33:22 +0800
committerobscuren <geffobscura@gmail.com>2014-12-18 22:33:22 +0800
commit5ad473d7581b92811c3a3e035274a82fc5568f57 (patch)
tree9d34ffc04b208a1923fa181938e7366bca2573d7 /core/transaction_pool.go
parentdb494170dc819b1eb0d267b6e1ab36c6cfb63569 (diff)
downloadgo-tangerine-5ad473d7581b92811c3a3e035274a82fc5568f57.tar
go-tangerine-5ad473d7581b92811c3a3e035274a82fc5568f57.tar.gz
go-tangerine-5ad473d7581b92811c3a3e035274a82fc5568f57.tar.bz2
go-tangerine-5ad473d7581b92811c3a3e035274a82fc5568f57.tar.lz
go-tangerine-5ad473d7581b92811c3a3e035274a82fc5568f57.tar.xz
go-tangerine-5ad473d7581b92811c3a3e035274a82fc5568f57.tar.zst
go-tangerine-5ad473d7581b92811c3a3e035274a82fc5568f57.zip
Moved methods to messages
Diffstat (limited to 'core/transaction_pool.go')
-rw-r--r--core/transaction_pool.go6
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