mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
Print version on normal geth start
This commit is contained in:
parent
a7434fd008
commit
06ebf2ba89
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue