From: Matt Corallo Date: Mon, 20 May 2019 22:22:06 +0000 (-0400) Subject: Update services properly on Good state X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=6e8173eb3a3e771ee9bb86af6a6728c892c6b84e;p=dnsseed-rust Update services properly on Good state --- diff --git a/src/datastore.rs b/src/datastore.rs index 0b0615c..60a8527 100644 --- a/src/datastore.rs +++ b/src/datastore.rs @@ -291,6 +291,7 @@ impl Store { nodes.good_node_services.get_mut(&i).unwrap().remove(&addr); } } + state_ref.last_services = services; } nodes.state_next_scan.get_mut(&state).unwrap().push((state_ref.last_update, addr)); }