File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1231,13 +1231,15 @@ impl_writeable_msg!(UpdateFulfillHTLC, {
1231
1231
} , { } ) ;
1232
1232
1233
1233
// Note that this is written as a part of ChannelManager objects, and thus cannot change its
1234
- // serialization format in a non-backwards-compatible way.
1234
+ // serialization format in a way which assumes we know the total serialized length/message end
1235
+ // position..
1235
1236
impl_writeable ! ( OnionErrorPacket , {
1236
1237
data
1237
1238
} ) ;
1238
1239
1239
1240
// Note that this is written as a part of ChannelManager objects, and thus cannot change its
1240
- // serialization format in a non-backwards-compatible way.
1241
+ // serialization format in a way which assumes we know the total serialized length/message end
1242
+ // position..
1241
1243
impl Writeable for OnionPacket {
1242
1244
fn write < W : Writer > ( & self , w : & mut W ) -> Result < ( ) , io:: Error > {
1243
1245
self . version . write ( w) ?;
You can’t perform that action at this time.
0 commit comments