Skip to content

Commit

Permalink
Move flags
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoog committed Oct 11, 2024
1 parent c09c37d commit bb3e9e2
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions op-withdrawer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@ var (
}
)

var Flags = []cli.Flag{
L1URLFlag,
L2URLFlag,
PortalAddressFlag,
PrivateKeyFlag,
}

func main() {
oplog.SetupDefaults()

Expand All @@ -79,7 +72,12 @@ func main() {
Name: "proveWithdrawal",
Usage: "Prove and finalize an L2 -> L1 withdrawal",
Action: Main,
Flags: Flags,
Flags: []cli.Flag{
L1URLFlag,
L2URLFlag,
PortalAddressFlag,
PrivateKeyFlag,
},
},
}

Expand Down

0 comments on commit bb3e9e2

Please sign in to comment.