This commit is contained in:
Dmitry Zuikov 2023-07-15 05:20:13 +03:00
parent 3858ec35f7
commit e68ee36429
1 changed files with 1 additions and 1 deletions

View File

@ -136,6 +136,7 @@ refChanHeadProto self adapter msg = do
case msg of
RefChanHead chan pkt -> do
trace $ "RefChanHead" <+> pretty self <+> pretty (AsBase58 chan)
-- FIXME: check-chan-is-listened
lift $ refChanHeadOnHead adapter pkt
RefChanGetHead _ -> do
@ -143,7 +144,6 @@ refChanHeadProto self adapter msg = do
-- послать хэш головы
pure ()
makeSignedBox :: forall e p . (Serialise p, ForRefChans e, Signatures (Encryption e))
=> PubKey 'Sign (Encryption e)
-> PrivKey 'Sign (Encryption e)