From 88b789e8ae710650da7c79eba291d67056399ac5 Mon Sep 17 00:00:00 2001 From: Jochen Hoenicke Date: Fri, 16 Mar 2018 07:00:00 +0100 Subject: [PATCH] trezorctl: fix bug in sign_tx. (#237) Set address to None, if user didn't specify address. Otherwise trezorctl would send an empty string as address instead of not including it. --- trezorctl | 1 + 1 file changed, 1 insertion(+) diff --git a/trezorctl b/trezorctl index d7f99e511e..115993eea1 100755 --- a/trezorctl +++ b/trezorctl @@ -521,6 +521,7 @@ def sign_tx(connect, coin): if address: address_n = None else: + address = None address_n = click.prompt('BIP-32 path (for change output)', type=client.expand_path, default='') if not address_n: break