Skip to content

Commit b18ad8b

Browse files
Document that Route::route_params will be required soon
This field was always set since 0.0.117, so in the next version we're going to make it officially required.
1 parent c7fcdf6 commit b18ad8b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lightning/src/routing/router.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,8 @@ pub struct Route {
683683
///
684684
/// This is used by `ChannelManager` to track information which may be required for retries.
685685
///
686-
/// Will be `None` for objects serialized with LDK versions prior to 0.0.117.
686+
/// Will be `None` for objects serialized with LDK versions prior to 0.0.117. This field will
687+
/// soon move to being required and must always be set.
687688
pub route_params: Option<RouteParameters>,
688689
}
689690

0 commit comments

Comments
 (0)