python3 updates
This commit is contained in:
@@ -255,7 +255,7 @@ class CoinChooserRandom(CoinChooserBase):
|
||||
|
||||
# And now some random ones
|
||||
attempts = min(100, (len(buckets) - 1) * 10 + 1)
|
||||
permutation = range(len(buckets))
|
||||
permutation = list(range(len(buckets)))
|
||||
for i in range(attempts):
|
||||
# Get a random permutation of the buckets, and
|
||||
# incrementally combine buckets until sufficient
|
||||
|
||||
Reference in New Issue
Block a user