mod+keychain+lntest: bump btcd to version with tweak fix

This commit bumps to the latest version of btcd that fixes a key
mutation issue when signing for Taproot outputs.
This commit is contained in:
Oliver Gugger
2022-11-10 13:10:51 +01:00
parent bcdf24b15e
commit e3536dd770
4 changed files with 8 additions and 8 deletions

View File

@@ -86,7 +86,7 @@ func (s *SecretKeyRing) SignMessageSchnorr(_ keychain.KeyLocator,
privKey := s.RootKey
if len(taprootTweak) > 0 {
privKey = txscript.TweakTaprootPrivKey(privKey, taprootTweak)
privKey = txscript.TweakTaprootPrivKey(*privKey, taprootTweak)
}
return schnorr.Sign(privKey, digest)