Skip to content

Commit c04aaa1

Browse files
committed
common: remove unused type field.
We always use modern TLV style: in fact, this field was never set! Signed-off-by: Rusty Russell <[email protected]>
1 parent 62300da commit c04aaa1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

common/onion_encode.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@
77
struct route_step;
88
struct tlv_encrypted_data_tlv_payment_relay;
99

10-
enum onion_payload_type {
11-
ONION_V0_PAYLOAD = 0,
12-
ONION_TLV_PAYLOAD = 1,
13-
};
14-
1510
struct onion_payload {
16-
enum onion_payload_type type;
1711
/* Is this the final hop? */
1812
bool final;
1913

0 commit comments

Comments
 (0)