Skip to content

Commit

Permalink
chore: -home is not mandatory
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Letang <[email protected]>
  • Loading branch information
jeremyletang committed Oct 29, 2024
1 parent bb08a17 commit 59a91d0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/resign/emit_withdrawals/emit_withdrawals.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ var (

func init() {
flag.StringVar(&out, "out", "rebundled.csv", "where to store the outputs rebundled signatures")
flag.StringVar(&home, "home", "", "path to the vega home root (required)")
flag.StringVar(&home, "home", "", "path to the vega home root")
flag.StringVar((*string)(&passphrase), "passphrase", "", "passphrase of the node wallet")
flag.StringVar(&bundlesPath, "bundles", "", "path to the signatures bundles (required)")
}
Expand Down Expand Up @@ -148,9 +148,6 @@ func signAllBundles(s bridges.Signer, bundles [][]string) [][]string {
func Main() {
flag.Parse()

if len(home) <= 0 {
log.Fatal("-home argument is required")
}
if len(bundlesPath) <= 0 {
log.Fatal("-bundles argument is required")
}
Expand Down

0 comments on commit 59a91d0

Please sign in to comment.