lnwallet: update genHtlcSigValidationJobs to be taproot aware

In this commit, we update the genHtlcSigValidationJobs function to be
taproot aware. As we actually need a schnorr signature for the taproot
validation, we need to coerce the entire wire type into a schnorr sig
with the ForceSchnorr() method.
This commit is contained in:
Olaoluwa Osuntokun
2023-01-19 19:24:48 -08:00
parent 5336f03ac6
commit 39d5dffd56
3 changed files with 428 additions and 118 deletions

View File

@@ -3863,8 +3863,6 @@ func putChanRevocationState(chanBucket kvdb.RwBucket, channel *OpenChannel) erro
return err
}
// TODO(roasbeef): don't keep producer on disk
// If the next revocation is present, which is only the case after the
// ChannelReady message has been sent, then we'll write it to disk.
if channel.RemoteNextRevocation != nil {