Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Corduan committed Mar 2, 2021
1 parent c36aaaf commit 7ea826a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -414,8 +414,8 @@ data Reward crypto = Reward
-- function 'aggregateRewards' so that 'Set.findMax' returns
-- the expected value.
instance Ord (Reward crypto) where
compare (Reward MemberReward _ _) (Reward LeaderReward _ _) = LT
compare (Reward LeaderReward _ _) (Reward MemberReward _ _) = GT
compare (Reward MemberReward _ _) (Reward LeaderReward _ _) = GT
compare (Reward LeaderReward _ _) (Reward MemberReward _ _) = LT
compare (Reward _ pool1 _) (Reward _ pool2 _) = compare pool1 pool2

instance NoThunks (Reward crypto)
Expand Down

0 comments on commit 7ea826a

Please sign in to comment.