From 9c0a09b668a4000366bcdb15ec8256874e505012 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 8 Dec 2022 17:17:35 -0800 Subject: [PATCH] working on cli --- nerochan/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nerochan/cli.py b/nerochan/cli.py index e6d612e..1a9c9ce 100644 --- a/nerochan/cli.py +++ b/nerochan/cli.py @@ -48,7 +48,7 @@ def cli(app): @app.cli.command('verify_tips') def verify_tips(): - txes = Transaction.select().where(Transaction.verified == False) + txes = Transaction.select() for tx in txes: data = { 'txid': tx.tx_id, @@ -58,7 +58,7 @@ def cli(app): try: res = make_wallet_rpc('check_tx_key', data) if res['received'] == 0: - click.echo('[!] Key and tx are correct, but the address is not.') + click.echo(f'[tx-{tx.id}] Key and tx are correct, but found XMR amount of 0. User must have selected the wrong post.') continue if res['in_pool'] is False: txdata = get_daemon().transactions([tx.tx_id])[0]