mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-10-31 14:47:29 +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 { | 			if lastProcessedTx != nil && remaing <= 0 { | ||||||
| 				h.feemarketKeeper.SetSuggestionGasPrice(ctx, lastProcessedTx.gasPrice) | 				h.feemarketKeeper.SetSuggestionGasPrice(ctx, lastProcessedTx.gasPrice) | ||||||
| 			} else { | 			} else { | ||||||
| 				h.feemarketKeeper.SetSuggestionGasPrice(ctx, big.NewInt(1)) | 				h.feemarketKeeper.SetSuggestionGasPrice(ctx, big.NewInt(0)) | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Solovyov1796
						Solovyov1796