projects
/
dnsseed-rust
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1add9be
)
Update services properly on Good state
author
Matt Corallo
<git@bluematt.me>
Mon, 20 May 2019 22:22:06 +0000
(18:22 -0400)
committer
Matt Corallo
<git@bluematt.me>
Mon, 20 May 2019 22:22:06 +0000
(18:22 -0400)
src/datastore.rs
patch
|
blob
|
history
diff --git
a/src/datastore.rs
b/src/datastore.rs
index 0b0615c5b5353039b6cb3d38b78a94128f97e643..60a8527a6377f71aa793718a670b2487741bfd8b 100644
(file)
--- 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));
}