User endpoints created

Invoices can now be fetched
This commit is contained in:
2020-12-25 16:42:23 +01:00
parent 16194dca8f
commit 8168674516
9 changed files with 378 additions and 9 deletions

View File

@@ -51,9 +51,7 @@ export class InvoiceScheduler {
return;
}
decoded.result.vout.forEach(output => {
//console.log('Output:', output.scriptPubKey);
decoded.result.vout.forEach(output => {
// Loop over each output and check if the address of one matches the one of an invoice.
this.pendingInvoices.forEach(invoice => {
// We found our transaction