diff --git a/ethchain/transaction_pool.go b/ethchain/transaction_pool.go index 0f7e859824..da6c3d6ba8 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) } diff --git a/peer.go b/peer.go index 34aff5edea..529a35492b 100644 --- a/peer.go +++ b/peer.go @@ -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() {