aboutsummaryrefslogtreecommitdiffstats
path: root/ethminer
diff options
context:
space:
mode:
Diffstat (limited to 'ethminer')
-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