use TXORef.hash instead of TXORef.id when signing claim with channel

This commit is contained in:
Lex Berezhny 2019-04-19 08:49:50 -04:00
parent 449a583286
commit 35c43647aa

View file

@ -96,7 +96,7 @@ class Output(BaseOutput):
]
else:
pieces = [
self.tx_ref.tx.inputs[0].txo_ref.id.encode(),
self.tx_ref.tx.inputs[0].txo_ref.hash,
self.claim.signing_channel_hash,
self.claim.to_message_bytes()
]