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
Branches
Tags
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.
Please register or to comment