mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-10 07:22:40 +02:00
input: restore usage of NUMS key for to_remote output
In this commit, we restore usage of the NUMS key for the to remote output, as this allows a remote party to scan the chain in order to find their remote output that in emergency recovery scenarios.
This commit is contained in:
@@ -927,7 +927,7 @@ func newTestCommitScriptTree(local bool) (*testCommitScriptTree, error) {
|
||||
)
|
||||
} else {
|
||||
commitScriptTree, err = NewRemoteCommitScriptTree(
|
||||
revokeKey.PubKey(), selfKey.PubKey(),
|
||||
selfKey.PubKey(),
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1210,7 +1210,6 @@ func remoteCommitSweepWitGen(sigHash txscript.SigHashType,
|
||||
|
||||
return TaprootCommitRemoteSpend(
|
||||
signer, signDesc, spendTx,
|
||||
commitScriptTree.revokeKey.PubKey(),
|
||||
commitScriptTree.TapscriptTree,
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user