projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb66dcd
)
Remove unnecessary identifiers from match pattern
author
Jeffrey Czyz
<jkczyz@gmail.com>
Mon, 13 Jun 2022 23:25:15 +0000
(18:25 -0500)
committer
Jeffrey Czyz
<jkczyz@gmail.com>
Mon, 13 Jun 2022 23:28:01 +0000
(18:28 -0500)
lightning/src/routing/gossip.rs
patch
|
blob
|
history
diff --git
a/lightning/src/routing/gossip.rs
b/lightning/src/routing/gossip.rs
index bd2b9d06eb04d501573ce36467ec1b329f0c8cde..0699333ec2335821c7e459279b11c6e970c319ce 100644
(file)
--- a/
lightning/src/routing/gossip.rs
+++ b/
lightning/src/routing/gossip.rs
@@
-250,7
+250,7
@@
where C::Target: chain::Access, L::Target: Logger
impl<L: Deref> EventHandler for NetworkGraph<L> where L::Target: Logger {
fn handle_event(&self, event: &Event) {
- if let Event::PaymentPathFailed {
payment_hash: _, rejected_by_dest: _,
network_update, .. } = event {
+ if let Event::PaymentPathFailed { network_update, .. } = event {
if let Some(network_update) = network_update {
match *network_update {
NetworkUpdate::ChannelUpdateMessage { ref msg } => {