electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 5613f9b903c6da799ec461d3a06b25ea0d0ee577
parent 4b560250a64fb18b1bf99a5bc619033dcdc47929
Author: ThomasV <thomasv@electrum.org>
Date:   Fri, 25 Jan 2019 18:16:03 +0100

hardware cmdline handler: print messages to stderr

Diffstat:
Melectrum/plugins/hw_wallet/cmdline.py | 2+-
Melectrum/plugins/trezor/clientbase.py | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/electrum/plugins/hw_wallet/cmdline.py b/electrum/plugins/hw_wallet/cmdline.py @@ -37,7 +37,7 @@ class CmdLineHandler: print_msg(msg) def show_error(self, msg, blocking=False): - print_msg(msg) + print_error(msg) def update_status(self, b): print_error('hw device status', b) diff --git a/electrum/plugins/trezor/clientbase.py b/electrum/plugins/trezor/clientbase.py @@ -224,7 +224,7 @@ class TrezorClientBase(PrintError): def button_request(self, code): message = self.msg or MESSAGES.get(code) or MESSAGES['default'] - self.handler.show_message(message.format(self.device), self.client.cancel) + self.handler.show_error(message.format(self.device), self.client.cancel) def get_pin(self, code=None): if code == 2: