mirror of
https://github.com/JoinMarket-Org/joinmarket-clientserver.git
synced 2026-08-16 13:01:17 +02:00
Fixed so tumbler can restart if no utxos in depth 0
This commit is contained in:
parent
bb8cd0074d
commit
df429cd9b9
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue