From: Jeffrey Czyz Date: Mon, 13 Jun 2022 23:25:15 +0000 (-0500) Subject: Remove unnecessary identifiers from match pattern X-Git-Tag: v0.0.109~15^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=1aa1d69461c90822672adb0b11ce2419ddf63cf2;p=rust-lightning Remove unnecessary identifiers from match pattern --- diff --git a/lightning/src/routing/gossip.rs b/lightning/src/routing/gossip.rs index bd2b9d06e..0699333ec 100644 --- 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 EventHandler for NetworkGraph 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 } => {