Skip to content

Commit 4fdef52

Browse files
committed
don't prompt for session id if total participants or max signers flags present
1 parent 7f98db6 commit 4fdef52

File tree

1 file changed

+1
-1
lines changed
  • ironfish-cli/src/commands/wallet/multisig/dkg

1 file changed

+1
-1
lines changed

ironfish-cli/src/commands/wallet/multisig/dkg/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class DkgCreateCommand extends IronfishCommand {
9292
let multisigClient: MultisigClient | null = null
9393
if (flags.server) {
9494
let sessionId = flags.sessionId
95-
if (!sessionId) {
95+
if (!sessionId && !flags.totalParticipants && !flags.minSigners) {
9696
sessionId = await ui.inputPrompt(
9797
'Enter the ID of a multisig session to join, or press enter to start a new session',
9898
false,

0 commit comments

Comments
 (0)