From 59a91d0f92e83b201aad6af21a4172a7ef81292f Mon Sep 17 00:00:00 2001 From: Jeremy Letang Date: Tue, 29 Oct 2024 08:02:13 +0000 Subject: [PATCH] chore: -home is not mandatory Signed-off-by: Jeremy Letang --- cmd/resign/emit_withdrawals/emit_withdrawals.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/resign/emit_withdrawals/emit_withdrawals.go b/cmd/resign/emit_withdrawals/emit_withdrawals.go index 0d78229423..40b0e33223 100644 --- a/cmd/resign/emit_withdrawals/emit_withdrawals.go +++ b/cmd/resign/emit_withdrawals/emit_withdrawals.go @@ -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)") } @@ -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") }