Skip to content

Commit

Permalink
Revert "Update index.ts (#173)"
Browse files Browse the repository at this point in the history
This reverts commit f47717c.
  • Loading branch information
shadeofblue authored Apr 14, 2021
1 parent f47717c commit ecd662b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yajsapi/executor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ export class Executor implements ComputationHistory {
emit(new events.PaymentFailed({ agr_id: invoice.agreementId, reason: e.toString() }));
}
} else {
invoices.set(invoice.agreementId, invoice);
invoices[invoice.agreementId] = invoice;
}
if (payment_closing && agreements_to_pay.size === 0) {
break;
Expand Down

0 comments on commit ecd662b

Please sign in to comment.