Skip to content

Commit

Permalink
Fixed test failing due to rounding error
Browse files Browse the repository at this point in the history
  • Loading branch information
poliwop committed Jul 12, 2023
1 parent 993db55 commit 22a6556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydradx/tests/test_omnipool_amm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1827,7 +1827,7 @@ def test_withdraw_exploit():

# @settings(max_examples=1)
@given(
st.floats(min_value=0, max_value=0.05, exclude_min=True),
st.floats(min_value=1e-10, max_value=0.05),
st.floats(min_value=0, max_value=0.1, exclude_min=True),
st.floats(min_value=0.50, max_value=1.5)
)
Expand Down

0 comments on commit 22a6556

Please sign in to comment.