Skip to content

Commit

Permalink
Fix timelock condition to check for claimed status
Browse files Browse the repository at this point in the history
  • Loading branch information
arentant committed Dec 2, 2024
1 parent bfc9c5a commit 7b84ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Swap/AtomicChat/Resolver.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export const ActionsWithProgressbar: FC = () => {
</div>
}
{
timelock && Number(timelock) - (Date.now() / 1000) > 0 && !sourceDetails?.claimed &&
timelock && Number(timelock) - (Date.now() / 1000) > 0 && sourceDetails?.claimed == 1 &&
<TimelockTimer timelock={Number(timelock) - (Date.now() / 1000)} />
}
</div>
Expand Down

0 comments on commit 7b84ec3

Please sign in to comment.