Don't advertise the snapshot that the node was loaded from
snapshot_packager_service will remove this snapshot hash from gossip when it starts
This commit is contained in:
parent
8ec8204a30
commit
306783c661
|
@ -376,12 +376,6 @@ impl Validator {
|
||||||
process::exit(1);
|
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);
|
wait_for_supermajority(config, &bank, &cluster_info);
|
||||||
|
|
Loading…
Reference in New Issue