aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-08-09 20:15:13 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-08-09 20:15:13 +0800
commit07cb8092e7a41e80224dc63691146e8714f94ebf (patch)
tree80202782040d61207819d6b895fa5a94149987a9 /cmd
parent1cbd53add8f88032e82b9df7ac6813d4120cc75c (diff)
parent74f6d90153a4d62eefaa8a49f98dc6ed8e0100f6 (diff)
downloadgo-tangerine-07cb8092e7a41e80224dc63691146e8714f94ebf.tar
go-tangerine-07cb8092e7a41e80224dc63691146e8714f94ebf.tar.gz
go-tangerine-07cb8092e7a41e80224dc63691146e8714f94ebf.tar.bz2
go-tangerine-07cb8092e7a41e80224dc63691146e8714f94ebf.tar.lz
go-tangerine-07cb8092e7a41e80224dc63691146e8714f94ebf.tar.xz
go-tangerine-07cb8092e7a41e80224dc63691146e8714f94ebf.tar.zst
go-tangerine-07cb8092e7a41e80224dc63691146e8714f94ebf.zip
Merge pull request #1611 from obscuren/expdiff-olympic-fix
cmd/utils, core: disable exp diff for olympic net
Diffstat (limited to 'cmd')
-rw-r--r--cmd/utils/cmd.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go
index f8f7f6376..983762db8 100644
--- a/cmd/utils/cmd.go
+++ b/cmd/utils/cmd.go
@@ -21,6 +21,7 @@ import (
"bufio"
"fmt"
"io"
+ "math"
"math/big"
"os"
"os/signal"
@@ -152,6 +153,7 @@ func InitOlympic() {
params.MaximumExtraDataSize = big.NewInt(1024)
NetworkIdFlag.Value = 0
core.BlockReward = big.NewInt(1.5e+18)
+ core.ExpDiffPeriod = big.NewInt(math.MaxInt64)
}
func FormatTransactionData(data string) []byte {