Skip to content

Commit d61f207

Browse files
committed
fixup! staticaddr: reject malformed MuSig2 signing data
1 parent d233c04 commit d61f207

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

staticaddr/loopin/manager_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@ func TestInitiateLoopInAllowsReservedAutoloopLabel(t *testing.T) {
224224
require.Equal(t, selectedDeposit.Value, quoteGetter.amount)
225225
}
226226

227+
// TestHandleLoopInSweepReqRejectsInvalidServerNonce ensures that a malformed
228+
// MuSig2 nonce returned by the server is rejected before it reaches the signer.
227229
func TestHandleLoopInSweepReqRejectsInvalidServerNonce(t *testing.T) {
228230
ctx := t.Context()
229231

0 commit comments

Comments
 (0)