wip,debug

This commit is contained in:
voidlizard 2024-10-13 11:49:02 +03:00
parent 21a6057b39
commit 62f66fdf03
1 changed files with 2 additions and 0 deletions

View File

@ -657,10 +657,12 @@ mailboxProtoWorker readConf me@MailboxProtoWorker{..} = do
-- write-already-merged
Exists _ w -> do
debug $ red ">>>" <+> blue "TX: Exists" <+> pretty w
msg' <- getBlock mpwStorage (coerce w)
case msg' of
Nothing -> do
debug $ red "START DOWNLOAD" <+> pretty w
startDownloadStuff me h
atomically $ modifyTVar fails succ
mzero