diff --git a/ironfish-cli/src/utils/ledger.ts b/ironfish-cli/src/utils/ledger.ts index 98502e5015..90ce371bfc 100644 --- a/ironfish-cli/src/utils/ledger.ts +++ b/ironfish-cli/src/utils/ledger.ts @@ -210,6 +210,8 @@ export class Ledger { throw new Error('Connect to Ledger first') } + this.logger.log('Please approve the request on your ledger device.') + return this.tryInstruction( this.app.dkgRound3Min( index, @@ -241,8 +243,6 @@ export class Ledger { throw new Error(`No public address returned.`) } - this.logger.log('Please confirm the request on your ledger device.') - const responseViewKey = await this.tryInstruction( this.app.dkgRetrieveKeys(IronfishKeys.ViewKey), ) @@ -273,8 +273,6 @@ export class Ledger { throw new Error('Connect to Ledger first') } - this.logger.log('Please approve the request on your ledger device.') - const response = await this.tryInstruction(this.app.dkgGetPublicPackage()) return response.publicPackage