good morning!!!!

Skip to content
Snippets Groups Projects
Commit 2e8016c8 authored by Zsolt Felföldi's avatar Zsolt Felföldi
Browse files

fixed initial base price bug

parent 0930e190
No related branches found
No related tags found
No related merge requests found
......@@ -159,6 +159,10 @@ func (self *GasPriceOracle) SuggestPrice() *big.Int {
base := self.lastBase
self.lastBaseMutex.Unlock()
if base == nil {
base = self.eth.GpoMinGasPrice
}
baseCorr := new(big.Int).Mul(base, big.NewInt(int64(100+self.eth.GpobaseCorrectionFactor)))
baseCorr.Div(baseCorr, big.NewInt(100))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment