mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-10 21:11:20 +00:00
Fix erigon version miss git commit (#3738)
This commit is contained in:
parent
ec4b5e6c6f
commit
a6ff889db9
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user