1
0
mirror of https://github.com/lightning/bolts.git synced 2025-01-18 21:32:31 +01:00

Fix undeclared reference in onion-routing

This commit is contained in:
Matt Corallo 2023-04-21 18:36:07 +00:00 committed by neil saitug
parent 7d3ef5a6b2
commit cded2df1fd

View File

@ -254,7 +254,7 @@ The creator of `encrypted_recipient_data` (usually, the recipient of payment):
- `total_fee_proportional_millionths(n+1) = ((total_fee_proportional_millionths(n) + fee_proportional_millionths(n+1)) * 1000000 + total_fee_proportional_millionths(n) * fee_proportional_millionths(n+1) + 1000000 - 1) / 1000000`
- MUST create the `encrypted_recipient_data` from the `encrypted_data_tlv` as required in [Route Blinding](#route-blinding).
The writer of `tlv_payload`:
The writer of the TLV `payload`:
- For every node inside a blinded route:
- MUST include the `encrypted_recipient_data` provided by the recipient