Skip to content

Commit 68b48cc

Browse files
mattdffjl
authored andcommitted
cmd/geth: print version on geth start (bnb-chain#2622)
1 parent 7596b33 commit 68b48cc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎cmd/geth/main.go‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ func initGenesis(ctx *cli.Context) error {
310310
// it unlocks any requested accounts, and starts the RPC/IPC interfaces and the
311311
// miner.
312312
func startNode(ctx *cli.Context, stack *node.Node) {
313+
// Report geth version
314+
glog.V(logger.Info).Infof("instance: Geth/%s/%s/%s\n", verString, runtime.Version(), runtime.GOOS)
313315
// Start up the node itself
314316
utils.StartNode(stack)
315317

0 commit comments

Comments
 (0)