This commit is contained in:
Dmitry Zuikov 2024-07-29 09:34:47 +03:00
parent bf8ade46aa
commit 88d3788c99
1 changed files with 2 additions and 4 deletions

View File

@ -38,10 +38,8 @@ putTextLit sto s = do
peerEntries :: forall c m . (c ~ C, IsContext c, MonadUnliftIO m) => MakeDictM c m ()
peerEntries = do
entry $ bindMatch "hbs2:peer:detect" $ nil_ \case
_ -> do
so <- detectRPC
display so
entry $ bindMatch "hbs2:peer:detect" $ \case
_ -> detectRPC <&> maybe (nil @c) mkStr
entry $ bindMatch "hbs2:peer:get-block" $ \case
[StringLike s] -> do