refchan head extensions

This commit is contained in:
Dmitry Zuikov 2024-04-15 06:24:53 +03:00
parent 6e5f25ef93
commit b2799f156e
1 changed files with 2 additions and 1 deletions

View File

@ -263,7 +263,7 @@ instance ForRefChans e => FromStringMaybe (RefChanHeadBlock e) where
<*> pure (HashSet.fromList authors)
<*> pure (HashSet.fromList readers)
<*> pure (HashSet.fromList notifiers)
<*> pure (LBS.toStrict $ serialise ext)
<*> pure (LBS.toStrict ext)
where
parsed = parseTop str & fromRight mempty
@ -315,6 +315,7 @@ instance (ForRefChans e
lstOf notifier (HashSet.toList $ view refChanHeadNotifiers blk)
<>
lstOf disclosed_ disclosed
<> semi <+> parens ("head-ext-number:" <+> pretty (length exs))
where