diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-03-27 19:12:05 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-03-27 19:12:05 +0800 |
commit | 0b4b2b81f93d1b7762a9fda6a464bdee67d286de (patch) | |
tree | 4cbf812f513daa35c72c7487e4b912d2ffe31324 /cmd/geth | |
parent | 54a14d5c9d7d1e5039753eac991cd057a5514fe8 (diff) | |
parent | b375bbee5fa0b04867cdecdc28e66078a2e32280 (diff) | |
download | go-tangerine-0b4b2b81f93d1b7762a9fda6a464bdee67d286de.tar.gz go-tangerine-0b4b2b81f93d1b7762a9fda6a464bdee67d286de.tar.zst go-tangerine-0b4b2b81f93d1b7762a9fda6a464bdee67d286de.zip |
Merge pull request #580 from ethersphere/frontier/cli-key
settable etherbase
Diffstat (limited to 'cmd/geth')
-rw-r--r-- | cmd/geth/main.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index da505218b..05e2e4ae6 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -221,6 +221,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso utils.LogJSONFlag, utils.LogLevelFlag, utils.MaxPeersFlag, + utils.EtherbaseFlag, utils.MinerThreadsFlag, utils.MiningEnabledFlag, utils.NATFlag, @@ -322,10 +323,10 @@ func startEth(ctx *cli.Context, eth *eth.Ethereum) { account := ctx.GlobalString(utils.UnlockedAccountFlag.Name) if len(account) > 0 { - if account == "coinbase" { - accbytes, err := am.Coinbase() + if account == "primary" { + accbytes, err := am.Primary() if err != nil { - utils.Fatalf("no coinbase account: %v", err) + utils.Fatalf("no primary account: %v", err) } account = common.ToHex(accbytes) } @@ -468,7 +469,6 @@ func dump(ctx *cli.Context) { } else { statedb := state.New(block.Root(), stateDb) fmt.Printf("%s\n", statedb.Dump()) - // fmt.Println(block) } } } |