Skip to content
Snippets Groups Projects
Unverified Commit b73289ed authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

explain the *2

parent 42da9833
No related branches found
No related tags found
1 merge request!155Client-side two-phase spending protocol to reduce pass loss
...@@ -200,6 +200,8 @@ class CallWithPassesTests(TestCase): ...@@ -200,6 +200,8 @@ class CallWithPassesTests(TestCase):
of passes, still of length ```num_passes``, but without the passes of passes, still of length ```num_passes``, but without the passes
which were rejected on the first try. which were rejected on the first try.
""" """
# Half of the passes are going to be rejected so make twice as many as
# the operation uses available.
passes = pass_factory(integer_passes(num_passes * 2)) passes = pass_factory(integer_passes(num_passes * 2))
def reject_even_pass_values(group): def reject_even_pass_values(group):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment