loopout: add unit test for the MuSig2 sweep case

This commit is contained in:
Andras Banki-Horvath 2022-06-24 13:57:42 +02:00
parent 82b58e5c0e
commit 5d7b0abdf5
No known key found for this signature in database
GPG key ID: 80E5375C094198D8
6 changed files with 244 additions and 37 deletions

View file

@ -116,7 +116,7 @@ func (s *mockSigner) MuSig2Sign(context.Context, [32]byte, [32]byte,
func (s *mockSigner) MuSig2CombineSig(context.Context, [32]byte,
[][]byte) (bool, []byte, error) {
return false, nil, nil
return true, nil, nil
}
// MuSig2Cleanup removes a session from memory to free up resources.