Skip to content

Commit 48a0efe

Browse files
committed
bitcoindnotify: add debug logs in unit test
1 parent 9fee656 commit 48a0efe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

chainntnfs/bitcoindnotify/bitcoind_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ func syncNotifierWithMiner(t *testing.T, notifier *BitcoindNotifier,
9393
"height: %v", err)
9494
}
9595

96+
t.Logf("miner height=%v, bitcoind height=%v", minerHeight,
97+
bitcoindHeight)
98+
9699
if bitcoindHeight == minerHeight {
97100
return uint32(bitcoindHeight)
98101
}

0 commit comments

Comments
 (0)