bitcoindnotify: add debug logs in unit test

This commit is contained in:
yyforyongyu
2024-07-24 18:05:06 +08:00
parent 9fee656d70
commit 48a0efe40c

View File

@@ -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)
} }