From e787230a07089b9db8969171598a49d80dc69f0e Mon Sep 17 00:00:00 2001 From: Hugh Cunningham <57735705+hughy@users.noreply.github.com> Date: Fri, 25 Oct 2024 11:12:21 -0700 Subject: [PATCH] allows multisig commands to disable tls without server flag (#5583) removes dependency of tls flag on server flag in 'wallet:multisig:dkg:create' and 'wallet:multisig:sign' allows user to use flag combinations like '--hostname localhost --no-tls' without needing to also set the '--server' flag --- ironfish-cli/src/commands/wallet/multisig/dkg/create.ts | 1 - ironfish-cli/src/commands/wallet/multisig/sign.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/ironfish-cli/src/commands/wallet/multisig/dkg/create.ts b/ironfish-cli/src/commands/wallet/multisig/dkg/create.ts index fd427c156e..c150ce4854 100644 --- a/ironfish-cli/src/commands/wallet/multisig/dkg/create.ts +++ b/ironfish-cli/src/commands/wallet/multisig/dkg/create.ts @@ -67,7 +67,6 @@ export class DkgCreateCommand extends IronfishCommand { }), tls: Flags.boolean({ description: 'connect to the multisig server over TLS', - dependsOn: ['server'], allowNo: true, }), minSigners: Flags.integer({ diff --git a/ironfish-cli/src/commands/wallet/multisig/sign.ts b/ironfish-cli/src/commands/wallet/multisig/sign.ts index 5d2494f798..b9a29622d5 100644 --- a/ironfish-cli/src/commands/wallet/multisig/sign.ts +++ b/ironfish-cli/src/commands/wallet/multisig/sign.ts @@ -69,7 +69,6 @@ export class SignMultisigTransactionCommand extends IronfishCommand { }), tls: Flags.boolean({ description: 'connect to the multisig server over TLS', - dependsOn: ['server'], allowNo: true, }), }