Skip to content

Commit

Permalink
compare a list of _rewards_ and not a list of pools to make the order…
Browse files Browse the repository at this point in the history
… somewhat stable
  • Loading branch information
KtorZ committed Jul 3, 2020
1 parent 02f6166 commit fae4919
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -549,7 +549,8 @@ spec = do
eventually "eventually shows non-zero rewards" $ do
Right pools@[pool1,_pool2,pool3] <- snd <$> listPools ctx
let rewards = view (#metrics . #nonMyopicMemberRewards)
pools `shouldBe` sortOn (Down . rewards) pools
(rewards <$> pools) `shouldBe`
(rewards <$> sortOn (Down . rewards) pools)
-- Make sure the rewards are not all equal:
rewards pool1 .> rewards pool3

Expand Down
2 changes: 1 addition & 1 deletion lib/shelley/src/Cardano/Wallet/Shelley/Launch.hs
Expand Up @@ -1095,7 +1095,7 @@ cartouche = T.unlines
, "# #"
, "# Cluster is booting. Stake pools are being registered on chain. #"
, "# #"
, "# This may take roughly 30s, after what pools will become active #"
, "# This may take roughly 60s, after what pools will become active #"
, "# and will start producing blocks. Please be patient... #"
, "# #"
, "# ⚠ DISCLAIMER ⚠ #"
Expand Down

0 comments on commit fae4919

Please sign in to comment.