From df429cd9b9e069a7b2d997b5a4e8cbd5f8d8770c Mon Sep 17 00:00:00 2001 From: Jaime Date: Tue, 29 Mar 2022 16:27:49 +0200 Subject: [PATCH] Fixed so tumbler can restart if no utxos in depth 0 --- scripts/tumbler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tumbler.py b/scripts/tumbler.py index 9a264ae..0cf2d71 100755 --- a/scripts/tumbler.py +++ b/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: