trezor: raise error for decryption attempts
This commit is contained in:
@@ -32,6 +32,7 @@ class TrezorCompatibleWallet(BIP44_HW_Wallet):
|
|||||||
return EncodeBase58Check(xpub)
|
return EncodeBase58Check(xpub)
|
||||||
|
|
||||||
def decrypt_message(self, pubkey, message, password):
|
def decrypt_message(self, pubkey, message, password):
|
||||||
|
raise RuntimeError(_('Electrum and %s encryption and decryption are currently incompatible') % self.device)
|
||||||
address = public_key_to_bc_address(pubkey.decode('hex'))
|
address = public_key_to_bc_address(pubkey.decode('hex'))
|
||||||
client = self.get_client()
|
client = self.get_client()
|
||||||
address_path = self.address_id(address)
|
address_path = self.address_id(address)
|
||||||
|
|||||||
Reference in New Issue
Block a user