Skip to content

Commit

Permalink
Don't advertise the snapshot that the node was loaded from
Browse files Browse the repository at this point in the history
snapshot_packager_service will remove this snapshot hash from gossip
when it starts
  • Loading branch information
mvines committed Mar 3, 2020
1 parent dad62e1 commit 8df4cf2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/src/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,12 +381,6 @@ impl Validator {
process::exit(1);
}
}

// If the node was loaded from a snapshot, advertise it in gossip
cluster_info
.write()
.unwrap()
.push_snapshot_hashes(vec![snapshot_hash]);
}

wait_for_supermajority(config, &bank, &cluster_info);
Expand Down

0 comments on commit 8df4cf2

Please sign in to comment.