From a977cecbe49e9cf049785a437581a767b079570c Mon Sep 17 00:00:00 2001 From: zsfelfoldi Date: Wed, 27 May 2015 12:39:59 +0200 Subject: fixed gas price corr. factor --- eth/gasprice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eth') 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 { -- cgit