Skip to content

Commit

Permalink
fixup! btcec/schnorr/musig2: add explicit support for BIP 86 multi-si…
Browse files Browse the repository at this point in the history
…gning
  • Loading branch information
Roasbeef committed Apr 1, 2022
1 parent 82a8ea6 commit 1a3c0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btcec/schnorr/musig2/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func (c *Context) SigningKeys() []*btcec.PublicKey {
// returning the internal key. If a taproot tweak wasn't speciifed, then this
// method will return an error.
func (c *Context) TaprootInternalKey() (*btcec.PublicKey, error) {
if c.opts.taprootTweak == nil {
if c.opts.taprootTweak == nil && !c.opts.bip86Tweak {
return nil, ErrTaprootInternalKeyUnavailable
}

Expand Down

0 comments on commit 1a3c0de

Please sign in to comment.