X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fdownloader.rs;h=4fc3d51c6c005f610af7680af999068747c54a04;hb=f0ef17314840b4e30d08511dfc7773b4ffc8d343;hp=504db2a4ec4b2eb91595fa112e7227ee27be1543;hpb=f3154b242d556046db6717dd4cd8432797ffa872;p=rapid-gossip-sync-server diff --git a/src/downloader.rs b/src/downloader.rs index 504db2a..4fc3d51 100644 --- a/src/downloader.rs +++ b/src/downloader.rs @@ -106,7 +106,7 @@ impl RoutingMessageHandler for GossipRouter { self.native_router.get_next_node_announcement(starting_point) } - fn peer_connected(&self, their_node_id: &PublicKey, init: &Init) { + fn peer_connected(&self, their_node_id: &PublicKey, init: &Init) -> Result<(), ()> { self.native_router.peer_connected(their_node_id, init) }