forked from LBRYCommunity/lbry-sdk
use TXORef.hash instead of TXORef.id when signing claim with channel
This commit is contained in:
parent
35c43647aa
commit
90bef98bc3
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class Output(BaseOutput):
|
||||||
self.channel = channel
|
self.channel = channel
|
||||||
self.claim.signing_channel_hash = channel.claim_hash
|
self.claim.signing_channel_hash = channel.claim_hash
|
||||||
digest = sha256(b''.join([
|
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.signing_channel_hash,
|
||||||
self.claim.to_message_bytes()
|
self.claim.to_message_bytes()
|
||||||
]))
|
]))
|
||||||
|
|
Loading…
Reference in a new issue