mirror of https://github.com/voidlizard/hbs2
wip,debug
This commit is contained in:
parent
21a6057b39
commit
62f66fdf03
|
@ -657,10 +657,12 @@ mailboxProtoWorker readConf me@MailboxProtoWorker{..} = do
|
||||||
-- write-already-merged
|
-- write-already-merged
|
||||||
|
|
||||||
Exists _ w -> do
|
Exists _ w -> do
|
||||||
|
debug $ red ">>>" <+> blue "TX: Exists" <+> pretty w
|
||||||
msg' <- getBlock mpwStorage (coerce w)
|
msg' <- getBlock mpwStorage (coerce w)
|
||||||
|
|
||||||
case msg' of
|
case msg' of
|
||||||
Nothing -> do
|
Nothing -> do
|
||||||
|
debug $ red "START DOWNLOAD" <+> pretty w
|
||||||
startDownloadStuff me h
|
startDownloadStuff me h
|
||||||
atomically $ modifyTVar fails succ
|
atomically $ modifyTVar fails succ
|
||||||
mzero
|
mzero
|
||||||
|
|
Loading…
Reference in New Issue