Skip to content

Commit ba06507

Browse files
committed
Expose PeerHandleError::no_connection_possible
Its just a trivial bool and already has docs on it, so seems like an oversight
1 parent 0d77e7c commit ba06507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/peer_handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ pub trait SocketDescriptor : cmp::Eq + hash::Hash + Clone {
8686
pub struct PeerHandleError {
8787
/// Used to indicate that we probably can't make any future connections to this peer, implying
8888
/// we should go ahead and force-close any channels we have with it.
89-
no_connection_possible: bool,
89+
pub no_connection_possible: bool,
9090
}
9191
impl fmt::Debug for PeerHandleError {
9292
fn fmt(&self, formatter: &mut fmt::Formatter) -> Result<(), fmt::Error> {

0 commit comments

Comments
 (0)