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

Redundant word

parent 6642da28
No related branches found
No related tags found
1 merge request!155Client-side two-phase spending protocol to reduce pass loss
......@@ -169,10 +169,10 @@ def whitebox_write_sparse_share(sharepath, version, size, leases, now):
def integer_passes(limit):
"""
:return: Return a function which can be used to get a number of passes.
The function accepts a unicode request-binding message and an integer
number of passes. It returns a list of integers which serve as passes.
Successive calls to the function return unique pass values.
:return: A function which can be used to get a number of passes. The
function accepts a unicode request-binding message and an integer
number of passes. It returns a list of integers which serve as
passes. Successive calls to the function return unique pass values.
"""
counter = iter(range(limit))
def get_passes(message, num_passes):
......
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