Skip to content

Commit

Permalink
fixes import of trusted dealer and/or coordinator accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
hughy committed Dec 4, 2024
1 parent 520b97c commit c178808
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ironfish/src/wallet/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,7 @@ export class Wallet {
accountValue: AccountImport,
options?: { createdAt?: number },
): Promise<Account> {
let multisigKeys
let multisigKeys = accountValue.multisigKeys
let secret: Buffer | undefined
let identity: Buffer | undefined
const name = accountValue.name
Expand Down Expand Up @@ -1526,7 +1526,6 @@ export class Wallet {
}
} else if (isMultisigHardwareSignerImport(accountValue.multisigKeys)) {
identity = Buffer.from(accountValue.multisigKeys.identity, 'hex')
multisigKeys = accountValue.multisigKeys
}
}

Expand Down

0 comments on commit c178808

Please sign in to comment.