mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
Merge pull request #3269 from TheBlueMatt/2024-08-this-should-work-bindings
Use the actual type, not the associated type, in trait impls
This commit is contained in:
commit
93c5bd1cf4
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ impl AsyncPaymentsMessageHandler for IgnoringMessageHandler {
|
||||||
}
|
}
|
||||||
impl CustomOnionMessageHandler for IgnoringMessageHandler {
|
impl CustomOnionMessageHandler for IgnoringMessageHandler {
|
||||||
type CustomMessage = Infallible;
|
type CustomMessage = Infallible;
|
||||||
fn handle_custom_message(&self, _message: Self::CustomMessage, _context: Option<Vec<u8>>, _responder: Option<Responder>) -> Option<(Infallible, ResponseInstruction)> {
|
fn handle_custom_message(&self, _message: Infallible, _context: Option<Vec<u8>>, _responder: Option<Responder>) -> Option<(Infallible, ResponseInstruction)> {
|
||||||
// Since we always return `None` in the read the handle method should never be called.
|
// Since we always return `None` in the read the handle method should never be called.
|
||||||
unreachable!();
|
unreachable!();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue