diff options
author | zsfelfoldi <zsfelfoldi@gmail.com> | 2015-05-27 18:39:59 +0800 |
---|---|---|
committer | zsfelfoldi <zsfelfoldi@gmail.com> | 2015-06-15 21:55:38 +0800 |
commit | a977cecbe49e9cf049785a437581a767b079570c (patch) | |
tree | a422bbf5f0b3fcd6127bc4bef3b911a9afdf9830 /eth/gasprice.go | |
parent | 6e212bdc6d1319c84c305c446bbf1ba9ddfdc66d (diff) | |
download | go-tangerine-a977cecbe49e9cf049785a437581a767b079570c.tar go-tangerine-a977cecbe49e9cf049785a437581a767b079570c.tar.gz go-tangerine-a977cecbe49e9cf049785a437581a767b079570c.tar.bz2 go-tangerine-a977cecbe49e9cf049785a437581a767b079570c.tar.lz go-tangerine-a977cecbe49e9cf049785a437581a767b079570c.tar.xz 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.go | 2 |
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 { |