This commit is contained in:
Dmitry Zuikov 2024-09-19 12:40:42 +03:00
parent 0c38bbf28c
commit 6eb0f08345
1 changed files with 3 additions and 0 deletions

View File

@ -139,6 +139,8 @@ updateKeys = do
-- FIXME: assume-huge-list
seen <- withState selectAllSeenGKTx
debug $ "SEEN" <+> pretty (List.length seen)
flip runContT pure $ callCC \exit -> do
when (List.null rchans) $ exit ()
so' <- detectRPC
@ -192,6 +194,7 @@ updateKeys = do
notice $ green "found new gk0" <+> pretty gkId <+> pretty gkh
lift $ lift $ S.yield (Right (gkId, gkh, gk) )
lift $ lift $ S.yield ( Left tx0 )
_ -> do
lift $ S.yield (Left tx0)