remove superfluous filter.

This commit is contained in:
Raúl Kripalani 2023-03-12 00:44:49 +00:00
parent 9412753ba3
commit 5a4b5ff97e

View File

@ -710,10 +710,6 @@ func (a *EthModule) EthFeeHistory(ctx context.Context, p jsonrpc.RawParams) (eth
txGasRewards := gasRewardSorter{}
for i, msg := range msgs {
if msg.VMMessage().From == builtintypes.SystemActorAddr {
continue
}
effectivePremium := msg.VMMessage().EffectiveGasPremium(basefee)
txGasRewards = append(txGasRewards, gasRewardTuple{
premium: effectivePremium,