good morning!!!!

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

fixed gas price corr. factor

parent 6e212bdc
Branches
Tags
No related merge requests found
...@@ -166,7 +166,7 @@ func (self *GasPriceOracle) SuggestPrice() *big.Int { ...@@ -166,7 +166,7 @@ func (self *GasPriceOracle) SuggestPrice() *big.Int {
return big.NewInt(10000000000000) // apparently MinGasPrice is not initialized during some tests return big.NewInt(10000000000000) // apparently MinGasPrice is not initialized during some tests
} }
baseCorr := new(big.Int).Mul(base, big.NewInt(int64(100+self.eth.GpobaseCorrectionFactor))) baseCorr := new(big.Int).Mul(base, big.NewInt(int64(self.eth.GpobaseCorrectionFactor)))
baseCorr.Div(baseCorr, big.NewInt(100)) baseCorr.Div(baseCorr, big.NewInt(100))
if baseCorr.Cmp(self.eth.GpoMinGasPrice) < 0 { if baseCorr.Cmp(self.eth.GpoMinGasPrice) < 0 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment