mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-02-23 12:36:45 +00:00
set suggetsion gas price as 0 if not found
This commit is contained in:
parent
a32dad8373
commit
a0426c63f7
@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user