mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
common/sphinx: rename hop_data to hop_data_legacy.
This highlights the various places we need to change. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
2821187fdc
commit
a76518a029
@@ -61,7 +61,7 @@ struct sphinx_path;
|
||||
* * [`u32`:`outgoing_cltv_value`]
|
||||
* * [`12*byte`:`padding`]
|
||||
*/
|
||||
struct hop_data {
|
||||
struct hop_data_legacy {
|
||||
u8 realm;
|
||||
struct short_channel_id channel_id;
|
||||
struct amount_msat amt_forward;
|
||||
@@ -80,7 +80,7 @@ struct route_step {
|
||||
struct onionpacket *next;
|
||||
enum sphinx_payload_type type;
|
||||
union {
|
||||
struct hop_data v0;
|
||||
struct hop_data_legacy v0;
|
||||
} payload;
|
||||
u8 *raw_payload;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user