Skip to content

Commit

Permalink
fix: do not check if redeemed when no trades are available
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamantios committed Sep 6, 2023
1 parent 6d77c48 commit d61c01d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ def _conditional_tokens_interact(

def _check_already_redeemed(self) -> WaitableConditionType:
"""Check whether we have already redeemed for this bet."""
if len(self.trades) == 0:
return True

kwargs: Dict[str, Any] = {
key: []
for key in (
Expand Down

0 comments on commit d61c01d

Please sign in to comment.