Browse Source

Merge #1216: Fixed so tumbler can restart if no utxos in depth 0

df429cd Fixed so tumbler can restart if no utxos in depth 0 (Jaime)
master
Adam Gibson 4 years ago
parent
commit
a48d1cff78
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  1. 4
      scripts/tumbler.py

4
scripts/tumbler.py

@ -138,8 +138,8 @@ def main():
max_mix_depth)
for i in range(options['mixdepthsrc'], max_mix_to_tumble):
total_tumble_amount += wallet_service.get_balance_by_mixdepth()[i]
if total_tumble_amount == 0:
raise ValueError("No confirmed coins in the selected mixdepth(s). Quitting")
if total_tumble_amount == 0:
raise ValueError("No confirmed coins in the selected mixdepth(s). Quitting")
exp_tx_fees_ratio = (involved_parties * fee_per_cp_guess) \
/ total_tumble_amount
if exp_tx_fees_ratio > 0.05:

Loading…
Cancel
Save