Skip to content

Commit

Permalink
Create sponsor account if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyjams committed Feb 3, 2025
1 parent 160d6c4 commit 3602ed3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Modules/IexecPoco.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export function handleOrdersMatched(event: OrdersMatchedEvent): void {
fetchAccount(viewedDeal.requester.toHex()).save();
fetchAccount(viewedDeal.beneficiary.toHex()).save();
fetchAccount(viewedDeal.callback.toHex()).save();
fetchAccount(viewedDeal.sponsor.toHex()).save();

let deal = fetchDeal(event.params.dealid.toHex());
deal.app = viewedDeal.app.pointer.toHex();
Expand Down

0 comments on commit 3602ed3

Please sign in to comment.