]> git.bitcoin.ninja Git - rapid-gossip-sync-server/commitdiff
Update to 0.0.115.
authorArik Sosman <git@arik.io>
Tue, 27 Jun 2023 20:26:15 +0000 (16:26 -0400)
committerArik Sosman <git@arik.io>
Tue, 27 Jun 2023 20:26:15 +0000 (16:26 -0400)
Cargo.toml
src/downloader.rs

index 729c080010881ed74bb63152e82eff560faa5863..61e2f7211cd540c62f4e8e24e3ac916fbc9169a8 100644 (file)
@@ -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"
index 9256100b581748100147d523fbe9f1a9ae0cee0b..ac11ec7091739f62290274c9637af2910b3484e4 100644 (file)
@@ -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 { .. } => {},