set suggetsion gas price as 0 if not found

This commit is contained in:
Solovyov1796 2025-02-10 23:27:22 +08:00
parent a32dad8373
commit a0426c63f7

View File

@ -305,7 +305,7 @@ func (h *DefaultProposalHandler) PrepareProposalHandler() sdk.PrepareProposalHan
if lastProcessedTx != nil && remaing <= 0 {
h.feemarketKeeper.SetSuggestionGasPrice(ctx, lastProcessedTx.gasPrice)
} else {
h.feemarketKeeper.SetSuggestionGasPrice(ctx, big.NewInt(1))
h.feemarketKeeper.SetSuggestionGasPrice(ctx, big.NewInt(0))
}
}