input: update the mock signer for the musig2 API changes
This commit is contained in:
1 file changed
+3
-4
@@ -55,10 +55,9 @@ func (d *DummySigner) ComputeInputScript(tx *wire.MsgTx,
|
|||||||
// all signing parties must be provided, including the public key of the local
|
// 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
|
// 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.
|
// submitted as well to reduce the number of method calls necessary later on.
|
||||||
func (d *DummySigner) MuSig2CreateSession(input.MuSig2Version,
|
func (d *DummySigner) MuSig2CreateSession(input.MuSig2Version, keychain.KeyLocator,
|
||||||
keychain.KeyLocator, []*btcec.PublicKey, *input.MuSig2Tweaks,
|
[]*btcec.PublicKey, *input.MuSig2Tweaks,
|
||||||
[][musig2.PubNonceSize]byte,
|
[][musig2.PubNonceSize]byte, ...musig2.SessionOption) (*input.MuSig2SessionInfo, error) {
|
||||||
...musig2.SessionOption) (*input.MuSig2SessionInfo, error) {
|
|
||||||
|
|
||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user