diff options
author | obscuren <geffobscura@gmail.com> | 2014-09-25 01:54:37 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-09-25 01:54:37 +0800 |
commit | 60a8c9527cba4298be4bdde39ff1e0e3fd7fe637 (patch) | |
tree | 890444663c383e4219d1b3839017074f9e3dc12b /ethminer | |
parent | 84690bfbbe99b0c8b8d3a377d39b0900990b300c (diff) | |
download | go-tangerine-60a8c9527cba4298be4bdde39ff1e0e3fd7fe637.tar.gz go-tangerine-60a8c9527cba4298be4bdde39ff1e0e3fd7fe637.tar.zst go-tangerine-60a8c9527cba4298be4bdde39ff1e0e3fd7fe637.zip |
Mine without txs
Diffstat (limited to 'ethminer')
-rw-r--r-- | ethminer/miner.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ethminer/miner.go b/ethminer/miner.go index b74f90e0c..299a5204a 100644 --- a/ethminer/miner.go +++ b/ethminer/miner.go @@ -3,7 +3,6 @@ package ethminer import ( "bytes" "sort" - "time" "github.com/ethereum/eth-go/ethchain" "github.com/ethereum/eth-go/ethlog" @@ -136,12 +135,6 @@ func (miner *Miner) listener() { } } default: - // This hack is only temporarily - if len(miner.txs) == 0 { - time.Sleep(2 * time.Second) - continue - } - miner.mineNewBlock() } } |