Rename a method and make it private. Comment it out because we don't need it yet.
This commit is contained in:
parent
b18af383be
commit
340e6ccaa3
1 changed files with 5 additions and 1 deletions
|
@ -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 })
|
||||
|
|
Loading…
Reference in a new issue