Skip to content

Commit

Permalink
cmd/geth: print version on geth start (#2622)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdf authored and fjl committed Jul 12, 2016
1 parent 7596b33 commit 68b48cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/geth/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 68b48cc

Please sign in to comment.