mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 23:41:35 +00:00
Merge branch 'master' of git://github.com/spesmilo/electrum
This commit is contained in:
commit
2f0550a747
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ class CoinChooserPrivacy(CoinChooserRandom):
|
||||||
zeroes = map(trailing_zeroes, output_amounts)
|
zeroes = map(trailing_zeroes, output_amounts)
|
||||||
min_zeroes = min(zeroes)
|
min_zeroes = min(zeroes)
|
||||||
max_zeroes = max(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
|
# Calculate change; randomize it a bit if using more than 1 output
|
||||||
remaining = change_amount
|
remaining = change_amount
|
||||||
|
|
Loading…
Add table
Reference in a new issue