input: update the mock signer for the musig2 API changes

This commit is contained in:
Olaoluwa Osuntokun 2023-03-01 21:46:31 -08:00
parent b39f5884ad
commit 2b92c15ca9
No known key found for this signature in database
GPG Key ID: 3BBD59E99B280306

View File

@ -55,10 +55,9 @@ func (d *DummySigner) ComputeInputScript(tx *wire.MsgTx,
// all signing parties must be provided, including the public key of the local
// signing key. If nonces of other parties are already known, they can be
// submitted as well to reduce the number of method calls necessary later on.
func (d *DummySigner) MuSig2CreateSession(input.MuSig2Version,
keychain.KeyLocator, []*btcec.PublicKey, *input.MuSig2Tweaks,
[][musig2.PubNonceSize]byte,
...musig2.SessionOption) (*input.MuSig2SessionInfo, error) {
func (d *DummySigner) MuSig2CreateSession(input.MuSig2Version, keychain.KeyLocator,
[]*btcec.PublicKey, *input.MuSig2Tweaks,
[][musig2.PubNonceSize]byte, ...musig2.SessionOption) (*input.MuSig2SessionInfo, error) {
return nil, nil
}