From 17939b6672d7f8c597beb840d111494bcd21fc43 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 8 Dec 2022 17:14:26 -0800 Subject: [PATCH] trying to fix cli --- nerochan/cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nerochan/cli.py b/nerochan/cli.py index 0ea80c5..e6d612e 100644 --- a/nerochan/cli.py +++ b/nerochan/cli.py @@ -57,6 +57,9 @@ 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.') + continue if res['in_pool'] is False: txdata = get_daemon().transactions([tx.tx_id])[0] d = txdata.timestamp.astimezone(timezone.utc)