aboutsummaryrefslogtreecommitdiffstats
path: root/eth/gasprice.go
diff options
context:
space:
mode:
authorzsfelfoldi <zsfelfoldi@gmail.com>2015-05-27 18:39:59 +0800
committerzsfelfoldi <zsfelfoldi@gmail.com>2015-06-15 21:55:38 +0800
commita977cecbe49e9cf049785a437581a767b079570c (patch)
treea422bbf5f0b3fcd6127bc4bef3b911a9afdf9830 /eth/gasprice.go
parent6e212bdc6d1319c84c305c446bbf1ba9ddfdc66d (diff)
downloadgo-tangerine-a977cecbe49e9cf049785a437581a767b079570c.tar.gz
go-tangerine-a977cecbe49e9cf049785a437581a767b079570c.tar.zst
go-tangerine-a977cecbe49e9cf049785a437581a767b079570c.zip
fixed gas price corr. factor
Diffstat (limited to 'eth/gasprice.go')
-rw-r--r--eth/gasprice.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/gasprice.go b/eth/gasprice.go
index 12e76fc2c..cd5293691 100644
--- a/eth/gasprice.go
+++ b/eth/gasprice.go
@@ -166,7 +166,7 @@ func (self *GasPriceOracle) SuggestPrice() *big.Int {
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))
if baseCorr.Cmp(self.eth.GpoMinGasPrice) < 0 {