Skip to content

Commit

Permalink
fix parsing failure message for PublicKeyText (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
larskuhtz authored Dec 14, 2022
1 parent 0f22b41 commit bb6476d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pact/Types/KeySet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ instance Arbitrary PublicKeyText where
instance Serialize PublicKeyText
instance NFData PublicKeyText
instance FromJSON PublicKeyText where
parseJSON = withText "PublicKeyText" (return . PublicKeyText)
parseJSON = withText "PublicKey" (return . PublicKeyText)
instance ToJSON PublicKeyText where
toJSON = toJSON . _pubKey

Expand Down

0 comments on commit bb6476d

Please sign in to comment.