aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/main.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-11-20 19:18:39 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-11-23 16:34:01 +0800
commitaad4890082c1624795991d534db9497c8b63630d (patch)
tree88dca9b73bdcdea2cbed32471c37933c308ac54d /cmd/geth/main.go
parenta0e42aa4e206247efe6df8706a2fb6bbdf6074b4 (diff)
downloaddexon-aad4890082c1624795991d534db9497c8b63630d.tar
dexon-aad4890082c1624795991d534db9497c8b63630d.tar.gz
dexon-aad4890082c1624795991d534db9497c8b63630d.tar.bz2
dexon-aad4890082c1624795991d534db9497c8b63630d.tar.lz
dexon-aad4890082c1624795991d534db9497c8b63630d.tar.xz
dexon-aad4890082c1624795991d534db9497c8b63630d.tar.zst
dexon-aad4890082c1624795991d534db9497c8b63630d.zip
cmd/geth, core, light, mobile: removed state account StartingNonce
All account's nonce start at 0.
Diffstat (limited to 'cmd/geth/main.go')
-rw-r--r--cmd/geth/main.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index 0eab77f7e..13d771790 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -34,7 +34,6 @@ import (
"github.com/ethereum/go-ethereum/console"
"github.com/ethereum/go-ethereum/contracts/release"
"github.com/ethereum/go-ethereum/core"
- "github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/eth"
"github.com/ethereum/go-ethereum/internal/debug"
"github.com/ethereum/go-ethereum/logger"
@@ -237,10 +236,6 @@ func initGenesis(ctx *cli.Context) error {
utils.Fatalf("must supply path to genesis JSON file")
}
- if ctx.GlobalBool(utils.TestNetFlag.Name) {
- state.StartingNonce = 1048576 // (2**20)
- }
-
stack := makeFullNode(ctx)
chaindb := utils.MakeChainDatabase(ctx, stack)