Skip to content

Commit 3de4355

Browse files
committed
fix logic
1 parent 2c5f878 commit 3de4355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,5 @@ export const isPoolFinalised = async (
8787
chainId,
8888
roundId: alloPoolId,
8989
});
90-
return roundDistributions.rounds.length > 0;
90+
return Number(roundDistributions.rounds[0].totalDistributed) > 0;
9191
};

0 commit comments

Comments
 (0)