From 87aee100470be979bb324d186559441e5c914b6a Mon Sep 17 00:00:00 2001 From: SomberNight Date: Mon, 12 Mar 2018 21:23:37 +0100 Subject: [PATCH] fix #4111 --- plugins/cosigner_pool/qt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/cosigner_pool/qt.py b/plugins/cosigner_pool/qt.py index 524d62b76..e00edd3ba 100644 --- a/plugins/cosigner_pool/qt.py +++ b/plugins/cosigner_pool/qt.py @@ -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: