Skip to content

Commit

Permalink
fixup: respect line lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
Anviking committed Jun 10, 2022
1 parent b9f424c commit 4ff9c40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/lib/Cardano/Address/Script.hs
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,7 @@ instance FromJSON ScriptTemplate where
case KeyMap.toList o of
[] -> fail "Cosigners object array should not be empty"
cs -> for (reverse cs) $ \(numTxt, str) -> do
cosigner' <- parseJSON @Cosigner (String $ T.pack $ Data.Aeson.Key.toString numTxt)
cosigner' <- parseJSON @Cosigner
(String $ T.pack $ Data.Aeson.Key.toString numTxt)
xpub <- parseXPub str
pure (cosigner', xpub)

0 comments on commit 4ff9c40

Please sign in to comment.