From 90bef98bc3e814f412943a6ad2be9cc4a974ae41 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Fri, 19 Apr 2019 08:57:10 -0400 Subject: [PATCH] use TXORef.hash instead of TXORef.id when signing claim with channel --- lbrynet/wallet/transaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/wallet/transaction.py b/lbrynet/wallet/transaction.py index bb0b50074..8e1dafbd1 100644 --- a/lbrynet/wallet/transaction.py +++ b/lbrynet/wallet/transaction.py @@ -114,7 +114,7 @@ class Output(BaseOutput): self.channel = channel self.claim.signing_channel_hash = channel.claim_hash digest = sha256(b''.join([ - first_input_id or self.tx_ref.tx.inputs[0].txo_ref.id.encode(), + first_input_id or self.tx_ref.tx.inputs[0].txo_ref.hash, self.claim.signing_channel_hash, self.claim.to_message_bytes() ]))