mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-11 05:39:03 +00:00
cmd/geth: print version on geth start (#2622)
This commit is contained in:
parent
7596b33506
commit
68b48cc045
1 changed files with 2 additions and 0 deletions
|
|
@ -310,6 +310,8 @@ func initGenesis(ctx *cli.Context) error {
|
|||
// it unlocks any requested accounts, and starts the RPC/IPC interfaces and the
|
||||
// miner.
|
||||
func startNode(ctx *cli.Context, stack *node.Node) {
|
||||
// Report geth version
|
||||
glog.V(logger.Info).Infof("instance: Geth/%s/%s/%s\n", verString, runtime.Version(), runtime.GOOS)
|
||||
// Start up the node itself
|
||||
utils.StartNode(stack)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue