mirror of https://github.com/voidlizard/hbs2
fixed wtf
This commit is contained in:
parent
85fe082868
commit
a3a954bed0
|
@ -225,7 +225,7 @@ downloadFromPeerRec t bu0 cache env h0 peer = do
|
|||
done <- atomically do
|
||||
pe <- isEmptyTQueue p
|
||||
qe <- isEmptyTQueue q
|
||||
unless pe retry
|
||||
when (qe && not pe) retry
|
||||
pure qe
|
||||
|
||||
if done then
|
||||
|
|
Loading…
Reference in New Issue