1
0

Add the keepkey cancellation feature

to the generic implementation.  Not currently used by the trezor
libraries.
This commit is contained in:
Neil Booth
2015-12-26 18:00:38 +09:00
parent 7b5f3884fa
commit cb4947d705
2 changed files with 11 additions and 7 deletions

View File

@@ -268,7 +268,8 @@ class KeepKeyGuiMixin(object):
message = "Confirm address on KeepKey device to continue"
else:
message = "Check KeepKey device to continue"
self.handler.show_message(msg.code, message, self)
cancel_callback=self.cancel if msg.code in [3, 8] else None
self.handler.show_message(message, cancel_callback)
return proto.ButtonAck()
def callback_PinMatrixRequest(self, msg):