watchtower: fix comments on breach hint and key
This commit is contained in:
1 parent
e488002db5
commit
54b30423a3
3 files changed
+4
-3
No files matched your search
@@ -203,7 +203,7 @@ func (l *Lookout) processEpoch(epoch *chainntnfs.BlockEpoch,
|
||||
// The decryption key for the state update should be the full
|
||||
// txid of the breaching commitment transaction.
|
||||
// The decryption key for the state update should be computed as
|
||||
// key = SHA256(txid).
|
||||
// key = SHA256(txid || txid).
|
||||
breachTxID := commitTx.TxHash()
|
||||
breachKey := blob.NewBreachKeyFromHash(&breachTxID)
|
||||
|
||||
|
||||
Reference in new issue
Block a user