Skip to content

Commit

Permalink
Minor type fix for private key improt
Browse files Browse the repository at this point in the history
  • Loading branch information
sondreb committed Jan 3, 2023
1 parent dc8664a commit 96d2231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion angular/src/shared/background-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class BackgroundManager {
const masterNode = HDKey.fromMasterSeed(masterSeed, network.bip32);

if (account.prv) {
return { node: { privateKey: account.prv }, network };
return { node: { privateKey: account.prv }, network } as any;
}

var node = masterNode.derive(`m/${account.purpose}'/${account.network}'/${account.index}'/${keyId}`);
Expand Down

0 comments on commit 96d2231

Please sign in to comment.