Skip to content

Commit

Permalink
Fix/Allow non xor,xstusd base pairs on web (#92)
Browse files Browse the repository at this point in the history
* allow for non xor,xstusd pairs

* Update Jenkinsfile

* Update Jenkinsfile

---------

Co-authored-by: f33r0 <[email protected]>
  • Loading branch information
HaidarJbeily7 and f33r0 authored Jul 22, 2024
1 parent cf9225c commit f6509bc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions web.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,6 @@ async def pairs(session=Depends(get_db)):
# reverse price
last_price = 1 / last_price
else:
# should be no non-XOR or non-XSTUSD pairs in DB
assert p.to_token_id == xor_id_int or p.to_token_id == xstusd_id_int
# <p> contains XXX->XOR swaps
base = p.from_token
base_volume = p.from_volume
quote = p.to_token
Expand Down

0 comments on commit f6509bc

Please sign in to comment.