mirror of https://github.com/voidlizard/hbs2
minor fix
This commit is contained in:
parent
b7e120715a
commit
7cdaf40022
|
|
@ -200,7 +200,7 @@ refChanHeadDisclosed = to getDisclosed
|
|||
|
||||
extractDisclosed :: ByteString -> [RefChanDisclosedCredentialsRef e]
|
||||
extractDisclosed ext = case deserialiseOrFail @(RefChanHeadExt e) (LBS.fromStrict ext) of
|
||||
Right (RefChanHeadExt exts) -> rights $ map (deserialiseOrFail @(RefChanDisclosedCredentialsRef e)) exts
|
||||
Right (RefChanHeadExt exts) -> rights $ fmap (deserialiseOrFail @(RefChanDisclosedCredentialsRef e)) exts
|
||||
Left _ -> []
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue