Skip to content

Commit

Permalink
fix compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Aug 20, 2024
1 parent 616154f commit 3382249
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/firesol/upgrader.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,7 @@ func tweakBlock(block *pbbstream.Block) (*pbbstream.Block, error) {
block.ParentNum = b.ParentSlot

slices.SortFunc(b.Rewards, func(a, b *pbsol.Reward) int {
<<<<<<< HEAD
return cmp.Compare(a.Lamports, b.Lamports)
=======
return int(a.Lamports - b.Lamports)
>>>>>>> 1e3fca7 (Now use multiple endpoints. This should help with block not available at certain time.)
})

err = block.Payload.MarshalFrom(b)
Expand Down

0 comments on commit 3382249

Please sign in to comment.