Skip to content

Commit

Permalink
cmd/abigen: redefine appp (ethereum#25851)
Browse files Browse the repository at this point in the history
  • Loading branch information
gzliudan committed Jan 11, 2025
1 parent 52a7620 commit 4eaece3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions cmd/abigen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ import (
"github.com/urfave/cli/v2"
)

var (
// Git SHA1 commit hash of the release (set via linker flags)
gitCommit = ""

app *cli.App
)

var (
// Flags needed by abigen
abiFlag = &cli.StringFlag{
Expand Down Expand Up @@ -81,8 +74,9 @@ var (
}
)

var app = flags.NewApp("", "XDC ABI wrapper code generator")

func init() {
app = flags.NewApp(gitCommit, "ethereum checkpoint helper tool")
app.Name = "abigen"
app.Flags = []cli.Flag{
abiFlag,
Expand Down

0 comments on commit 4eaece3

Please sign in to comment.