lnwire: add custom records field to type CommitSig

This commit is contained in:
Oliver Gugger
2024-09-02 14:33:49 +02:00
parent 1e85c5054e
commit bd84fd256e
3 changed files with 193 additions and 15 deletions

View File

@@ -945,6 +945,8 @@ func TestLightningWireProtocol(t *testing.T) {
}
}
req.CustomRecords = randCustomRecords(t, r)
// 50/50 chance to attach a partial sig.
if r.Int31()%2 == 0 {
req.PartialSig = somePartialSigWithNonce(t, r)