From 136cafbe53f82ea44df355aa2f06ee5effa4ded1 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Mon, 25 Jan 2021 07:43:30 -0800 Subject: [PATCH] fix bugs in payout processing logic --- app/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/cli.py b/app/cli.py index d338ab5..d89e25c 100644 --- a/app/cli.py +++ b/app/cli.py @@ -115,9 +115,9 @@ def process_payouts(): else: click.echo(' - Unable to send XMR') else: - click.echo(f' - Not enough unlocked balance ({balances[1]}) to send XMR') + click.echo(f' - Not enough unlocked balance ({monero.from_atomic(balances[1])}) to send XMR') - if balances[0] < xmr_to_send: + if balances[0] < axmr_to_send: click.echo(' - There is not enough locked balance, this droplet should be destroyed') sleep(5) cancel_operation(op.codename)