Fix propagation of incorrectly signed messages in Gossip (#3201)

This commit is contained in:
Sagar Dhawan
2019-03-08 18:08:24 -08:00
committed by GitHub
parent 31cbb52654
commit c8c85ff93b
7 changed files with 121 additions and 31 deletions

View File

@@ -155,11 +155,12 @@ impl Fullnode {
// Insert the entrypoint info, should only be None if this node
// is the bootstrap leader
if let Some(entrypoint_info) = entrypoint_info_option {
cluster_info
.write()
.unwrap()
.insert_info(entrypoint_info.clone());
.set_entrypoint(entrypoint_info.clone());
}
let sockets = Sockets {