Skip to content

Commit 59a91d0

Browse files
committed
chore: -home is not mandatory
Signed-off-by: Jeremy Letang <me@jeremyletang.com>
1 parent bb08a17 commit 59a91d0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

cmd/resign/emit_withdrawals/emit_withdrawals.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ var (
7171

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

151-
if len(home) <= 0 {
152-
log.Fatal("-home argument is required")
153-
}
154151
if len(bundlesPath) <= 0 {
155152
log.Fatal("-bundles argument is required")
156153
}

0 commit comments

Comments
 (0)