cmd/geth: print version on geth start (#2622)

pull/2798/head
Matthew Di Ferrante 8 years ago committed by Felix Lange
parent 7596b33506
commit 68b48cc045
  1. 2
      cmd/geth/main.go

@ -310,6 +310,8 @@ func initGenesis(ctx *cli.Context) error {
// it unlocks any requested accounts, and starts the RPC/IPC interfaces and the // it unlocks any requested accounts, and starts the RPC/IPC interfaces and the
// miner. // miner.
func startNode(ctx *cli.Context, stack *node.Node) { 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 // Start up the node itself
utils.StartNode(stack) utils.StartNode(stack)

Loading…
Cancel
Save