projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1107 from dunxen/2021-10-swap-pubkey-for-bytearray
[rust-lightning]
/
lightning
/
src
/
ln
/
peer_handler.rs
diff --git
a/lightning/src/ln/peer_handler.rs
b/lightning/src/ln/peer_handler.rs
index 68751f30ef11b2b83d507fd4f84c5343405288d8..1815d4a350cc0289100d207b9fa2a98029397b1d 100644
(file)
--- a/
lightning/src/ln/peer_handler.rs
+++ b/
lightning/src/ln/peer_handler.rs
@@
-101,7
+101,7
@@
impl wire::CustomMessageReader for IgnoringMessageHandler {
}
impl CustomMessageHandler for IgnoringMessageHandler {
}
impl CustomMessageHandler for IgnoringMessageHandler {
- fn handle_custom_message(&self, _msg:
Self::CustomMessag
e, _sender_node_id: &PublicKey) -> Result<(), LightningError> {
+ fn handle_custom_message(&self, _msg:
Infallibl
e, _sender_node_id: &PublicKey) -> Result<(), LightningError> {
// Since we always return `None` in the read the handle method should never be called.
unreachable!();
}
// Since we always return `None` in the read the handle method should never be called.
unreachable!();
}