aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-09-24 00:19:51 +0800
committerobscuren <geffobscura@gmail.com>2014-09-24 00:19:51 +0800
commit46a496428f2d2a3a0f9ddcb755c825dfc1f73436 (patch)
tree231b6a1931bbe0685d03269769f4df0d396054f4 /ethchain
parentbc1a173d2f5e44916b9c6a2ae746c43ce1cef6f7 (diff)
downloadgo-tangerine-46a496428f2d2a3a0f9ddcb755c825dfc1f73436.tar
go-tangerine-46a496428f2d2a3a0f9ddcb755c825dfc1f73436.tar.gz
go-tangerine-46a496428f2d2a3a0f9ddcb755c825dfc1f73436.tar.bz2
go-tangerine-46a496428f2d2a3a0f9ddcb755c825dfc1f73436.tar.lz
go-tangerine-46a496428f2d2a3a0f9ddcb755c825dfc1f73436.tar.xz
go-tangerine-46a496428f2d2a3a0f9ddcb755c825dfc1f73436.tar.zst
go-tangerine-46a496428f2d2a3a0f9ddcb755c825dfc1f73436.zip
ugh
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/transaction_pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/transaction_pool.go b/ethchain/transaction_pool.go
index 0f7e85982..da6c3d6ba 100644
--- a/ethchain/transaction_pool.go
+++ b/ethchain/transaction_pool.go
@@ -105,7 +105,7 @@ func (pool *TxPool) ValidateTransaction(tx *Transaction) error {
return fmt.Errorf("[TXPL] Invalid recipient. len = %d", len(tx.Recipient))
}
- if tx.GasPrice.Cmp(MinGasPrice) >= 0 {
+ if tx.GasPrice.Cmp(MinGasPrice) < 0 {
return fmt.Errorf("Gas price to low. Require %v > Got %v", MinGasPrice, tx.GasPrice)
}