Skip to content

Commit

Permalink
Merge pull request #159 from PotLock:payout-update
Browse files Browse the repository at this point in the history
set Payout fixes
  • Loading branch information
M-Rb3 authored Jul 6, 2024
2 parents aafe601 + a901ca2 commit 7ceb64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Pot/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ const Header = () => {

const canPayoutsBeProcessed = userIsAdminOrGreater && now >= cooldown_end_ms && !all_paid_out;

const canPayoutsBeSet = userIsChefOrGreater && !all_paid_out && now > cooldown_end_ms;
const canPayoutsBeSet = userIsChefOrGreater && !all_paid_out && (now > cooldown_end_ms || !_cooldown_end_ms);

const payoutsChallenges = PotSDK.getPayoutsChallenges(potId);

Expand Down

0 comments on commit 7ceb64c

Please sign in to comment.