Skip to content

Commit

Permalink
Fix MarloweQuery serialization error
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbertra committed Feb 8, 2023
1 parent 4a7e0ab commit 0f63f21
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -44,6 +44,7 @@ instance Binary SomeRequest where
SomeRequest b <- get
pure $ SomeRequest $ ReqBoth a b
0x01 -> SomeRequest . ReqContractHeaders <$> get
0x02 -> SomeRequest . ReqContractState <$> get
_ -> fail "Invalid Request tag"

put (SomeRequest req) = case req of
Expand Down

0 comments on commit 0f63f21

Please sign in to comment.