commit 87aee100470be979bb324d186559441e5c914b6a
parent 3234917ea1356143b837183a5d6009724b1f18c4
Author: SomberNight <somber.night@protonmail.com>
Date: Mon, 12 Mar 2018 21:23:37 +0100
fix #4111
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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: