Skip to content

Commit

Permalink
graphql: fee history fields (ethereum#24452)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Sep 22, 2024
1 parent f1d2652 commit e686abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/gasprice/feehistory.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (oracle *Oracle) processBlock(bf *blockFees, percentiles []float64) {
reward, _ := tx.EffectiveGasTip(bf.block.BaseFee())
sorter[i] = txGasAndReward{gasUsed: bf.receipts[i].GasUsed, reward: reward}
}
sort.Sort(sorter)
sort.Stable(sorter)

var txIndex int
sumGasUsed := sorter[0].gasUsed
Expand Down

0 comments on commit e686abc

Please sign in to comment.