From a6ff889db9ee295fec83d16395b09002bbe47563 Mon Sep 17 00:00:00 2001 From: EXEC Date: Sat, 19 Mar 2022 10:36:00 +0800 Subject: [PATCH] Fix erigon version miss git commit (#3738) --- turbo/app/make_app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbo/app/make_app.go b/turbo/app/make_app.go index 38ae4f9bf..0cfdaed40 100644 --- a/turbo/app/make_app.go +++ b/turbo/app/make_app.go @@ -17,7 +17,7 @@ import ( // * action: the main function for the application. receives `*cli.Context` with parsed command-line flags. Returns no error, if some error could not be recovered from write to the log or panic. // * cliFlags: the list of flags `cli.Flag` that the app should set and parse. By default, use `DefaultFlags()`. If you want to specify your own flag, use `append(DefaultFlags(), myFlag)` for this parameter. func MakeApp(action func(*cli.Context), cliFlags []cli.Flag) *cli.App { - app := flags.NewApp("", "", "erigon experimental cli") + app := flags.NewApp(params.GitCommit, "", "erigon experimental cli") app.Action = action app.Flags = append(cliFlags, debug.Flags...) // debug flags are required app.Before = func(ctx *cli.Context) error {