From 160a68310fcfa9f9428de20387470925d08fa6c6 Mon Sep 17 00:00:00 2001 From: Arik Sosman Date: Tue, 27 Jun 2023 16:26:15 -0400 Subject: [PATCH] Update to 0.0.115. --- Cargo.toml | 6 +++--- src/downloader.rs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 729c080..61e2f72 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,9 +5,9 @@ edition = "2018" [dependencies] bitcoin = "0.29" -lightning = { version = "0.0.114" } -lightning-block-sync = { version = "0.0.114", features=["rest-client"] } -lightning-net-tokio = { version = "0.0.114" } +lightning = { version = "0.0.115" } +lightning-block-sync = { version = "0.0.115", features=["rest-client"] } +lightning-net-tokio = { version = "0.0.115" } tokio = { version = "1.14.1", features = ["full"] } tokio-postgres = { version="=0.7.5" } futures = "0.3" diff --git a/src/downloader.rs b/src/downloader.rs index 9256100..ac11ec7 100644 --- a/src/downloader.rs +++ b/src/downloader.rs @@ -1,10 +1,10 @@ use std::sync::{Arc, RwLock}; use bitcoin::secp256k1::PublicKey; +use lightning::events::{MessageSendEvent, MessageSendEventsProvider}; use lightning::ln::features::{InitFeatures, NodeFeatures}; use lightning::ln::msgs::{ChannelAnnouncement, ChannelUpdate, Init, LightningError, NodeAnnouncement, QueryChannelRange, QueryShortChannelIds, ReplyChannelRange, ReplyShortChannelIdsEnd, RoutingMessageHandler}; use lightning::routing::gossip::{NetworkGraph, NodeId, P2PGossipSync}; -use lightning::util::events::{MessageSendEvent, MessageSendEventsProvider}; use tokio::sync::mpsc; use tokio::sync::mpsc::error::TrySendError; @@ -88,7 +88,7 @@ impl MessageSendEventsProvider for GossipRouter { let gossip_evs = self.outbound_gossiper.get_and_clear_pending_msg_events(); for ev in gossip_evs { match ev { - MessageSendEvent::BroadcastChannelAnnouncement { msg, update_msg: None } => { + MessageSendEvent::BroadcastChannelAnnouncement { msg, .. } => { self.new_channel_announcement(msg); }, MessageSendEvent::BroadcastNodeAnnouncement { .. } => {}, -- 2.39.5