From 0f5ee7cc1eab1397e751c2b27ae2dc1aa0b51c6d Mon Sep 17 00:00:00 2001 From: Matt Morehouse Date: Tue, 16 Jan 2024 11:12:11 -0600 Subject: [PATCH] htlcswitch: update fuzzPayload for route blinding Route blinding added some new fields to hop.Payload and route.Hop, which we need to copy over to the fuzzPayload tests. --- htlcswitch/hop/fuzz_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htlcswitch/hop/fuzz_test.go b/htlcswitch/hop/fuzz_test.go index d7e463543..7d528a1c4 100644 --- a/htlcswitch/hop/fuzz_test.go +++ b/htlcswitch/hop/fuzz_test.go @@ -88,7 +88,10 @@ func hopFromPayload(p *Payload) (*route.Hop, uint64) { MPP: p.MPP, AMP: p.AMP, Metadata: p.metadata, + EncryptedData: p.encryptedData, + BlindingPoint: p.blindingPoint, CustomRecords: p.customRecords, + TotalAmtMsat: p.totalAmtMsat, }, p.FwdInfo.NextHop.ToUint64() }