aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_manager.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-13 20:52:23 +0800
committerobscuren <geffobscura@gmail.com>2015-03-13 20:52:23 +0800
commite69d5b32e812b21cdaecf0fe7b0188665b05e2ab (patch)
treef133c1350806dc1dc435b2f3dfe88a6d3c6f0a9a /core/chain_manager.go
parentf76cc6699ecd995d78cfd980b229473101191137 (diff)
downloadgo-tangerine-e69d5b32e812b21cdaecf0fe7b0188665b05e2ab.tar.gz
go-tangerine-e69d5b32e812b21cdaecf0fe7b0188665b05e2ab.tar.zst
go-tangerine-e69d5b32e812b21cdaecf0fe7b0188665b05e2ab.zip
Increased genesis gas & gas floor limit to 3141592
Diffstat (limited to 'core/chain_manager.go')
-rw-r--r--core/chain_manager.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/chain_manager.go b/core/chain_manager.go
index 97c61395e..df3d6d1c3 100644
--- a/core/chain_manager.go
+++ b/core/chain_manager.go
@@ -68,9 +68,7 @@ func CalcGasLimit(parent, block *types.Block) *big.Int {
result := new(big.Int).Add(previous, curInt)
result.Div(result, big.NewInt(1024))
- min := big.NewInt(125000)
-
- return ethutil.BigMax(min, result)
+ return ethutil.BigMax(GenesisGasLimit, result)
}
type ChainManager struct {