This commit is contained in:
ychiao 2023-02-10 17:34:53 -05:00
parent 778768dbf7
commit 8cded9f8d2

View File

@ -641,6 +641,7 @@ func (a *EthModule) EthFeeHistory(ctx context.Context, p jsonrpc.RawParams) (eth
GasUsedRatio: gasUsedRatioArray,
}
if params.RewardPercentiles != nil {
// TODO: populate reward percentile
reward := make([][]ethtypes.EthBigInt, 0)
ret.Reward = &reward
}