projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d77e7c
)
Expose PeerHandleError::no_connection_possible
2020-05-pre-bindings-cleanups
author
Matt Corallo
<git@bluematt.me>
Thu, 14 May 2020 01:25:51 +0000
(21:25 -0400)
committer
Matt Corallo
<git@bluematt.me>
Fri, 22 May 2020 18:28:56 +0000
(14:28 -0400)
Its just a trivial bool and already has docs on it, so seems like
an oversight
lightning/src/ln/peer_handler.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/peer_handler.rs
b/lightning/src/ln/peer_handler.rs
index e6160b0e5ec597d76027dc9b61a54ae5d0315fff..009fa73f939e21ace76acb54acd205e56b2fa70a 100644
(file)
--- a/
lightning/src/ln/peer_handler.rs
+++ b/
lightning/src/ln/peer_handler.rs
@@
-86,7
+86,7
@@
pub trait SocketDescriptor : cmp::Eq + hash::Hash + Clone {
pub struct PeerHandleError {
/// Used to indicate that we probably can't make any future connections to this peer, implying
/// we should go ahead and force-close any channels we have with it.
- no_connection_possible: bool,
+
pub
no_connection_possible: bool,
}
impl fmt::Debug for PeerHandleError {
fn fmt(&self, formatter: &mut fmt::Formatter) -> Result<(), fmt::Error> {