ttrezor: raise error for decryption attempts - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 9a454b60ce5bd154a46f228a2ad6cc79359c7406 DIR parent dd2922d8fc01b784635e7068d71db280699a741c HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Wed, 24 Feb 2016 22:43:54 +0900 ttrezor: raise error for decryption attempts Diffstat: M plugins/trezor/plugin.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py t@@ -32,6 +32,7 @@ class TrezorCompatibleWallet(BIP44_HW_Wallet): return EncodeBase58Check(xpub) 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')) client = self.get_client() address_path = self.address_id(address)