aboutsummaryrefslogtreecommitdiffstats
path: root/ethminer/miner.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-21 17:42:20 +0800
committerobscuren <geffobscura@gmail.com>2014-05-21 17:42:20 +0800
commitcbf221f6b7a48ece543d6141d8a7e9dbf9b8d86d (patch)
treef94c450b2213bfecba7c102cd247ff98f70ea5f6 /ethminer/miner.go
parent734b2e4cf7a2e6ed3ab0815b795730c62e235a6b (diff)
downloaddexon-cbf221f6b7a48ece543d6141d8a7e9dbf9b8d86d.tar.gz
dexon-cbf221f6b7a48ece543d6141d8a7e9dbf9b8d86d.tar.zst
dexon-cbf221f6b7a48ece543d6141d8a7e9dbf9b8d86d.zip
Fixed competing block method
Diffstat (limited to 'ethminer/miner.go')
-rw-r--r--ethminer/miner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethminer/miner.go b/ethminer/miner.go
index 26b28d82f..e052d0207 100644
--- a/ethminer/miner.go
+++ b/ethminer/miner.go
@@ -126,7 +126,7 @@ func (miner *Miner) listener() {
// Search the nonce
miner.block.Nonce = miner.pow.Search(miner.block, miner.quitChan)
if miner.block.Nonce != nil {
- err := miner.ethereum.StateManager().ProcessBlock(miner.ethereum.StateManager().CurrentState(), miner.block, true)
+ err := miner.ethereum.StateManager().Process(miner.block, true)
if err != nil {
ethutil.Config.Log.Infoln(err)
miner.txs = []*ethchain.Transaction{} // Move this somewhere neat