mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
0c38bbf28c
commit
6eb0f08345
|
@ -139,6 +139,8 @@ updateKeys = do
|
||||||
-- FIXME: assume-huge-list
|
-- FIXME: assume-huge-list
|
||||||
seen <- withState selectAllSeenGKTx
|
seen <- withState selectAllSeenGKTx
|
||||||
|
|
||||||
|
debug $ "SEEN" <+> pretty (List.length seen)
|
||||||
|
|
||||||
flip runContT pure $ callCC \exit -> do
|
flip runContT pure $ callCC \exit -> do
|
||||||
when (List.null rchans) $ exit ()
|
when (List.null rchans) $ exit ()
|
||||||
so' <- detectRPC
|
so' <- detectRPC
|
||||||
|
@ -192,6 +194,7 @@ updateKeys = do
|
||||||
notice $ green "found new gk0" <+> pretty gkId <+> pretty gkh
|
notice $ green "found new gk0" <+> pretty gkId <+> pretty gkh
|
||||||
|
|
||||||
lift $ lift $ S.yield (Right (gkId, gkh, gk) )
|
lift $ lift $ S.yield (Right (gkId, gkh, gk) )
|
||||||
|
lift $ lift $ S.yield ( Left tx0 )
|
||||||
|
|
||||||
_ -> do
|
_ -> do
|
||||||
lift $ S.yield (Left tx0)
|
lift $ S.yield (Left tx0)
|
||||||
|
|
Loading…
Reference in New Issue