Skip to content

Commit

Permalink
Fix threshold test
Browse files Browse the repository at this point in the history
  • Loading branch information
DefiDebauchery authored and Uxio0 committed Jul 12, 2022
1 parent 91e0848 commit 4c1ba08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnosis/safe/safe.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def create(
"""

assert owners, "At least one owner must be set"
assert threshold >= len(owners), "Threshold=%d must be >= %d" % (
assert 1 <= threshold <= len(owners), "Threshold=%d must be <= %d" % (
threshold,
len(owners),
)
Expand Down

0 comments on commit 4c1ba08

Please sign in to comment.