tfix #4111 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 87aee100470be979bb324d186559441e5c914b6a DIR parent 3234917ea1356143b837183a5d6009724b1f18c4 HTML Author: SomberNight <somber.night@protonmail.com> Date: Mon, 12 Mar 2018 21:23:37 +0100 fix #4111 Diffstat: M plugins/cosigner_pool/qt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/plugins/cosigner_pool/qt.py b/plugins/cosigner_pool/qt.py t@@ -173,7 +173,8 @@ class Plugin(BasePlugin): for window, xpub, K, _hash in self.cosigner_list: if not self.cosigner_can_sign(tx, xpub): continue - message = bitcoin.encrypt_message(bfh(tx.raw), bh2u(K)).decode('ascii') + raw_tx_bytes = bfh(str(tx)) + message = bitcoin.encrypt_message(raw_tx_bytes, bh2u(K)).decode('ascii') try: server.put(_hash, message) except Exception as e: