We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c3f7be commit 406fbe2Copy full SHA for 406fbe2
lnwire/lnwire_test.go
@@ -1414,6 +1414,21 @@ func TestLightningWireProtocol(t *testing.T) {
1414
1415
v[0] = reflect.ValueOf(*req)
1416
},
1417
+ MsgUpdateFulfillHTLC: func(v []reflect.Value, r *rand.Rand) {
1418
+ req := UpdateFulfillHTLC{
1419
+ ID: r.Uint64(),
1420
+ }
1421
+
1422
+ _, err := r.Read(req.ChanID[:])
1423
+ require.NoError(t, err)
1424
1425
+ _, err = r.Read(req.PaymentPreimage[:])
1426
1427
1428
+ req.CustomRecords = randCustomRecords(t, r)
1429
1430
+ v[0] = reflect.ValueOf(req)
1431
+ },
1432
}
1433
1434
// With the above types defined, we'll now generate a slice of
0 commit comments