Print version on normal geth start

This commit is contained in:
mattdf 2016-05-26 06:08:04 +01:00
parent a7434fd008
commit 06ebf2ba89

View file

@ -299,6 +299,7 @@ func makeDefaultExtra() []byte {
// It creates a default node based on the command line arguments and runs it in
// blocking mode, waiting for it to be shut down.
func geth(ctx *cli.Context) {
fmt.Printf("instance: Geth/%s/%s/%s\n", verString, runtime.Version(), runtime.GOOS)
node := utils.MakeSystemNode(clientIdentifier, verString, relConfig, makeDefaultExtra(), ctx)
startNode(ctx, node)
node.Wait()