aboutsummaryrefslogtreecommitdiff
path: root/miner/worker.go
diff options
context:
space:
mode:
Diffstat (limited to 'miner/worker.go')
-rw-r--r--miner/worker.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/miner/worker.go b/miner/worker.go
index edfd3f9..f5357f3 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -28,6 +28,7 @@ import (
"sync"
"sync/atomic"
"time"
+ "fmt"
mapset "github.com/deckarep/golang-set"
"github.com/ethereum/go-ethereum/common"
@@ -617,6 +618,7 @@ func (w *worker) resultLoop() {
// Insert the block into the set of pending ones to resultLoop for confirmations
w.unconfirmed.Insert(block.NumberU64(), block.Hash())
+ fmt.Printf("new parent: %s\n", w.chain.CurrentBlock().Hash().String())
case <-w.exitCh:
return