Skip to content

Commit 522e4c3

Browse files
committed
InfoS logs from BlockScanner
1 parent 0ee8be5 commit 522e4c3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.1.54
1+
v0.1.55

‎btc-lsp/src/BtcLsp/Thread/BlockScanner.hs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ scan = do
252252
=<< withBtcT Btc.getBlockCount id
253253
case mBlk of
254254
Nothing -> do
255-
$(logTM) DebugS . logStr $
255+
$(logTM) InfoS . logStr $
256256
"Found no blocks, scanning height = "
257257
<> inspect cHeight
258258
scanOneBlock cHeight
@@ -298,7 +298,7 @@ scannerStep acc cur end =
298298
if cur > end
299299
then pure acc
300300
else do
301-
$(logTM) DebugS . logStr $
301+
$(logTM) InfoS . logStr $
302302
"Scanner step cur = "
303303
<> inspect cur
304304
<> " end = "
@@ -363,7 +363,7 @@ scanOneBlock ::
363363
scanOneBlock height = do
364364
hash <- withBtcT Btc.getBlockHash ($ from height)
365365
blk <- withBtcT Btc.getBlockVerbose ($ hash)
366-
$(logTM) DebugS . logStr $
366+
$(logTM) InfoS . logStr $
367367
"Got new block with height = "
368368
<> inspect height
369369
<> " and hash = "

0 commit comments

Comments
 (0)