From 2b92c15ca96777140edda93ded81269ee93a2ab2 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 1 Mar 2023 21:46:31 -0800 Subject: [PATCH] input: update the mock signer for the musig2 API changes --- lntest/mock/signer.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lntest/mock/signer.go b/lntest/mock/signer.go index 5f21437e7..a8029f0cc 100644 --- a/lntest/mock/signer.go +++ b/lntest/mock/signer.go @@ -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 }