Commit 615d2059 authored by obscuren's avatar obscuren

Merge branch 'develop'

parents 5c5db7d9 46a49642
......@@ -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)
}
......
......@@ -572,7 +572,7 @@ func (self *Peer) FetchBlocks() {
func (self *Peer) FetchHashes() {
blockPool := self.ethereum.blockPool
if self.statusKnown && self.td.Cmp(blockPool.td) >= 0 {
if self.td.Cmp(blockPool.td) >= 0 {
blockPool.td = self.td
if !blockPool.HasLatestHash() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment