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.
This commit is contained in:
Matt Morehouse 2024-01-16 11:12:11 -06:00
parent 76ae3e457b
commit 0f5ee7cc1e
No known key found for this signature in database
GPG Key ID: CC8ECA224831C982

View File

@ -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()
}