bitcoindnotify: add debug logs in unit test
This commit is contained in:
1 file changed
+3
@@ -93,6 +93,9 @@ func syncNotifierWithMiner(t *testing.T, notifier *BitcoindNotifier,
|
|||||||
"height: %v", err)
|
"height: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t.Logf("miner height=%v, bitcoind height=%v", minerHeight,
|
||||||
|
bitcoindHeight)
|
||||||
|
|
||||||
if bitcoindHeight == minerHeight {
|
if bitcoindHeight == minerHeight {
|
||||||
return uint32(bitcoindHeight)
|
return uint32(bitcoindHeight)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user