Skip to content

Commit

Permalink
Merge pull request #174 from golemfactory/revert-173-map-indexing-bug…
Browse files Browse the repository at this point in the history
…-fix

Revert "Fix map indexing bug"
  • Loading branch information
shadeofblue authored Apr 14, 2021
2 parents f47717c + ecd662b commit 8746053
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 8746053

Please sign in to comment.