We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28b2127 commit 149adafCopy full SHA for 149adaf
ironfish-cli/src/commands/wallet/multisig/ledger/restore.ts
@@ -19,12 +19,12 @@ export class MultisigLedgerRestore extends IronfishCommand {
19
async start(): Promise<void> {
20
const { args } = await this.parse(MultisigLedgerRestore)
21
22
- let encryptedKeys = args.backup
23
- if (!encryptedKeys) {
24
- encryptedKeys = await ui.longPrompt(
+ const encryptedKeys =
+ args.backup ||
+ (await ui.longPrompt(
25
'Enter the encrypted multisig key backup to restore to your Ledger device',
26
- )
27
- }
+ { required: true },
+ ))
28
29
const ledger = new LedgerMultiSigner()
30
try {
0 commit comments