From 8a25457cb40f1d93f66dbfbdd4afc33f22a75be1 Mon Sep 17 00:00:00 2001 From: Georgios Jason Efstathiou Date: Tue, 26 Sep 2023 13:25:25 +0200 Subject: [PATCH] fix: sometimes invalid splits when claim project --- src/lib/utils/project/GitProjectService.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/utils/project/GitProjectService.ts b/src/lib/utils/project/GitProjectService.ts index e1db491f1..483b9f269 100644 --- a/src/lib/utils/project/GitProjectService.ts +++ b/src/lib/utils/project/GitProjectService.ts @@ -394,7 +394,9 @@ export default class GitProjectService { const splitTxs: Promise[] = []; 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))];