keystore.sign_message: add optional script_type argument
this is used by trezor (and also by bitbox02, which was using a workaround previously) fixes https://github.com/spesmilo/electrum/issues/7670
This commit is contained in:
@@ -308,7 +308,7 @@ class Coldcard_KeyStore(Hardware_KeyStore):
|
||||
raise UserFacingException(_('Encryption and decryption are currently not supported for {}').format(self.device))
|
||||
|
||||
@wrap_busy
|
||||
def sign_message(self, sequence, message, password):
|
||||
def sign_message(self, sequence, message, password, *, script_type=None):
|
||||
# Sign a message on device. Since we have big screen, of course we
|
||||
# have to show the message unabiguously there first!
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user