Refactor DefaultMessageSendSpec

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera
2020-12-08 20:51:27 +01:00
parent 689b93dc0e
commit 6ca5caef31
5 changed files with 17 additions and 18 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ func (m *GasModule) GasEstimateMessageGas(ctx context.Context, msg *types.Messag
msg.GasFeeCap = feeCap
}
messagepool.CapGasFee(m.GetMaxFee, msg, spec.Get().MaxFee)
messagepool.CapGasFee(m.GetMaxFee, msg, spec)
return msg, nil
}