We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69d7c1b commit cd023deCopy full SHA for cd023de
lightning/src/blinded_path/payment.rs
@@ -118,21 +118,6 @@ impl Writeable for ReceiveTlvs {
118
}
119
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
impl<'a> Writeable for BlindedPaymentTlvsRef<'a> {
137
fn write<W: Writer>(&self, w: &mut W) -> Result<(), io::Error> {
138
// TODO: write padding
0 commit comments