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 Aug 23, 2024
1 parent 8466bd1 commit bd34a77
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 bd34a77

Please sign in to comment.