From a393e8a3d40a46f70b72f67f37e77b6272e381e1 Mon Sep 17 00:00:00 2001 From: j-s-n Date: Fri, 20 Dec 2024 17:06:30 -0800 Subject: [PATCH] minor cleanup --- ironfish-cli/src/commands/wallet/multisig/dkg/create.ts | 4 +--- .../src/commands/wallet/multisig/participant/create.ts | 5 +---- ironfish/src/migrations/data/index.ts | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/ironfish-cli/src/commands/wallet/multisig/dkg/create.ts b/ironfish-cli/src/commands/wallet/multisig/dkg/create.ts index 5ddc4dfc76..731293fdbc 100644 --- a/ironfish-cli/src/commands/wallet/multisig/dkg/create.ts +++ b/ironfish-cli/src/commands/wallet/multisig/dkg/create.ts @@ -274,9 +274,7 @@ export class DkgCreateCommand extends IronfishCommand { return foundIdentity } - const created = await client.wallet.multisig.createParticipant({ - name, - }) + const created = await client.wallet.multisig.createParticipant({ name }) return { name, identity: created.content.identity } } diff --git a/ironfish-cli/src/commands/wallet/multisig/participant/create.ts b/ironfish-cli/src/commands/wallet/multisig/participant/create.ts index 61f76b7a56..06c1e43055 100644 --- a/ironfish-cli/src/commands/wallet/multisig/participant/create.ts +++ b/ironfish-cli/src/commands/wallet/multisig/participant/create.ts @@ -36,7 +36,6 @@ export class MultisigIdentityCreate extends IronfishCommand { } let identity - if (flags.ledger) { identity = await this.getIdentityFromLedger() } @@ -50,9 +49,7 @@ export class MultisigIdentityCreate extends IronfishCommand { identity: identity.toString('hex'), }) } else { - response = await client.wallet.multisig.createParticipant({ - name, - }) + response = await client.wallet.multisig.createParticipant({ name }) } } catch (e) { if ( diff --git a/ironfish/src/migrations/data/index.ts b/ironfish/src/migrations/data/index.ts index 904d695e58..4e952bb56a 100644 --- a/ironfish/src/migrations/data/index.ts +++ b/ironfish/src/migrations/data/index.ts @@ -43,5 +43,5 @@ export const MIGRATIONS = [ Migration030, Migration031, Migration032, - Migration032, + Migration033, ]