This commit is contained in:
obscuren
2014-09-23 18:19:51 +02:00
parent bc1a173d2f
commit 46a496428f
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
}