Skip to content

Commit

Permalink
Improve shrinking for PoolCertificate.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed Aug 13, 2020
1 parent 229d145 commit e4136cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/test/unit/Cardano/Pool/DB/Arbitrary.hs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ instance Arbitrary PoolCertificate where
, Retirement
<$> arbitrary
]
shrink = const []
shrink = genericShrink

instance Arbitrary StakePoolMetadataHash where
arbitrary = fmap (StakePoolMetadataHash . BS.pack) (vector 32)
Expand Down

0 comments on commit e4136cf

Please sign in to comment.