File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
lightning/src/blinded_path Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -118,21 +118,6 @@ impl Writeable for ReceiveTlvs {
118
118
}
119
119
}
120
120
121
- // This will be removed once we support forwarding blinded HTLCs, because we'll always read a
122
- // `BlindedPaymentTlvs` instead.
123
- impl Readable for ReceiveTlvs {
124
- fn read < R : io:: Read > ( r : & mut R ) -> Result < Self , DecodeError > {
125
- _init_and_read_tlv_stream ! ( r, {
126
- ( 12 , payment_constraints, required) ,
127
- ( 65536 , payment_secret, required) ,
128
- } ) ;
129
- Ok ( Self {
130
- payment_secret : payment_secret. 0 . unwrap ( ) ,
131
- payment_constraints : payment_constraints. 0 . unwrap ( )
132
- } )
133
- }
134
- }
135
-
136
121
impl < ' a > Writeable for BlindedPaymentTlvsRef < ' a > {
137
122
fn write < W : Writer > ( & self , w : & mut W ) -> Result < ( ) , io:: Error > {
138
123
// TODO: write padding
You can’t perform that action at this time.
0 commit comments