Skip to content

Commit 34772ca

Browse files
committed
Stop writing old user_payment_id field not read since 0.0.103
Since we're breaking downgrade compatibility to LDK version 0.0.103 and before, we might as well go ahead and remove other code we have for compatibility.
1 parent 6535627 commit 34772ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/events/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ impl Writeable for Event {
855855
(3, via_channel_id, option),
856856
(4, amount_msat, required),
857857
(5, via_user_channel_id, option),
858-
(6, 0u64, required), // user_payment_id required for compatibility with 0.0.103 and earlier
858+
// Type 6 was `user_payment_id` on 0.0.103 and earlier
859859
(7, claim_deadline, option),
860860
(8, payment_preimage, option),
861861
(9, onion_fields, option),

0 commit comments

Comments
 (0)