From 340e6ccaa31ecd8498809cdc582aaa6cf9fa7579 Mon Sep 17 00:00:00 2001 From: Daniel Krol Date: Thu, 5 May 2022 13:49:22 -0400 Subject: [PATCH] Rename a method and make it private. Comment it out because we don't need it yet. --- src/app/signing.service.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/signing.service.ts b/src/app/signing.service.ts index fce9751..e4bcfeb 100644 --- a/src/app/signing.service.ts +++ b/src/app/signing.service.ts @@ -37,7 +37,10 @@ export class SigningService { return bip32.fromBase58(account.private_key).privateKey || null; } - getAddresses(wallet: any): string[] { + // Does this belong in identity.service next to getChannels? or does + // getChannels belong here next to this? + /* + private getSpendingAddresses(wallet: any): string[] { return wallet.accounts // won't venture into deterministic yet .filter((account: any) => account.address_generator.name === 'single-address') @@ -46,6 +49,7 @@ export class SigningService { return this.getAddressFromBip32(node) }) } + */ signPSBT(psbtHex: string, nonWitnessUtxoHexes: string[], signingKey: Buffer): string { const keyPair = ecpair.ECPair.fromPrivateKey(signingKey, { network: NETWORK })