Skip to content

Commit

Permalink
Fix Arbitrary instance for Credential
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Dec 15, 2024
1 parent 509555c commit 5343fd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ genBadPtr = Ptr <$> arbitrary <*> arbitrary <*> arbitrary
instance Arbitrary (Credential r) where
arbitrary =
oneof
[ ScriptHashObj . ScriptHash <$> arbitrary
[ ScriptHashObj <$> arbitrary
, KeyHashObj <$> arbitrary
]

Expand Down

0 comments on commit 5343fd8

Please sign in to comment.