Commit 60a8c952 authored by obscuren's avatar obscuren

Mine without txs

parent 84690bfb
...@@ -3,7 +3,6 @@ package ethminer ...@@ -3,7 +3,6 @@ package ethminer
import ( import (
"bytes" "bytes"
"sort" "sort"
"time"
"github.com/ethereum/eth-go/ethchain" "github.com/ethereum/eth-go/ethchain"
"github.com/ethereum/eth-go/ethlog" "github.com/ethereum/eth-go/ethlog"
...@@ -136,12 +135,6 @@ func (miner *Miner) listener() { ...@@ -136,12 +135,6 @@ func (miner *Miner) listener() {
} }
} }
default: default:
// This hack is only temporarily
if len(miner.txs) == 0 {
time.Sleep(2 * time.Second)
continue
}
miner.mineNewBlock() miner.mineNewBlock()
} }
} }
......
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