Skip to content

Commit 48cc6d8

Browse files
committed
Fix wrong use of mempty deposit in pool reg test
1 parent c2b7ea7 commit 48cc6d8

File tree

1 file changed

+1
-1
lines changed
  • eras/shelley/test-suite/src/Test/Cardano/Ledger/Shelley/Rules

1 file changed

+1
-1
lines changed

eras/shelley/test-suite/src/Test/Cardano/Ledger/Shelley/Rules/Pool.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ poolRegistrationProp
152152
conjoin
153153
[ counterexample
154154
"New PoolParams are registered in pParams"
155-
(Map.lookup hk (psStakePools targetSt) === Just (mkStakePoolState mempty poolParams))
155+
((stakePoolStateToPoolParams hk <$> Map.lookup hk (psStakePools targetSt)) === Just poolParams)
156156
, counterexample
157157
"PoolParams are not present in 'future pool params'"
158158
(eval (hk dom (psFutureStakePools targetSt)) :: Bool)

0 commit comments

Comments
 (0)