Skip to content

Commit

Permalink
fix: sometimes invalid splits when claim project
Browse files Browse the repository at this point in the history
  • Loading branch information
efstajas committed Sep 26, 2023
1 parent 7a45cb1 commit 8a25457
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/utils/project/GitProjectService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,9 @@ export default class GitProjectService {

const splitTxs: Promise<PopulatedTransaction>[] = [];
context.unclaimedFunds?.map(({ tokenAddress }) => {
splitTxs.push(this._dripsTxFactory.split(accountId, tokenAddress, receivers));
splitTxs.push(
this._dripsTxFactory.split(accountId, tokenAddress, this._formatSplitReceivers(receivers)),
);
});

return [setSplitsTx, emitAccountMetadataTx, ...(await Promise.all(splitTxs))];
Expand Down

0 comments on commit 8a25457

Please sign in to comment.