Browse Source

Fixed so tumbler can restart if no utxos in depth 0

master
Jaime 4 years ago
parent
commit
df429cd9b9
  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