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:
1 file changed
+3
@@ -88,7 +88,10 @@ func hopFromPayload(p *Payload) (*route.Hop, uint64) {
|
|||||||
MPP: p.MPP,
|
MPP: p.MPP,
|
||||||
AMP: p.AMP,
|
AMP: p.AMP,
|
||||||
Metadata: p.metadata,
|
Metadata: p.metadata,
|
||||||
|
EncryptedData: p.encryptedData,
|
||||||
|
BlindingPoint: p.blindingPoint,
|
||||||
CustomRecords: p.customRecords,
|
CustomRecords: p.customRecords,
|
||||||
|
TotalAmtMsat: p.totalAmtMsat,
|
||||||
}, p.FwdInfo.NextHop.ToUint64()
|
}, p.FwdInfo.NextHop.ToUint64()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user