commit 2f0550a747f400b0cd7ffaa7d849b4549edeab60
parent 8977493a6278256e42d2b32b9e47959c92f7c1ea
Author: ThomasV <thomasv@electrum.org>
Date: Mon, 14 Dec 2015 13:07:27 +0100
Merge branch 'master' of git://github.com/spesmilo/electrum
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/coinchooser.py b/lib/coinchooser.py
@@ -241,7 +241,7 @@ class CoinChooserPrivacy(CoinChooserRandom):
zeroes = map(trailing_zeroes, output_amounts)
min_zeroes = min(zeroes)
max_zeroes = max(zeroes)
- zeroes = range(max(0, min_zeroes - 1), min(max_zeroes + 1, 8) + 1)
+ zeroes = range(max(0, min_zeroes - 1), (max_zeroes + 1) + 1)
# Calculate change; randomize it a bit if using more than 1 output
remaining = change_amount