Skip to content

Commit

Permalink
Fix duplicate block error
Browse files Browse the repository at this point in the history
  • Loading branch information
raduom committed Oct 14, 2021
1 parent a6addd8 commit 3244041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plutus-chain-index/src/Plutus/ChainIndex/Types.hs
Expand Up @@ -127,7 +127,7 @@ instance Monoid Tip where
instance Ord Tip where
TipAtGenesis <= _ = True
_ <= TipAtGenesis = False
(Tip ls _ _) <= (Tip rs _ _) = ls <= rs
(Tip _ _ lb) <= (Tip _ _ rb) = lb <= rb

instance Pretty Tip where
pretty TipAtGenesis = "TipAtGenesis"
Expand Down

0 comments on commit 3244041

Please sign in to comment.