Fix stale gossip entrypoint (#8053)

This commit is contained in:
carllin
2020-01-30 21:51:11 -08:00
committed by GitHub
parent 2226c1b75c
commit fd207b6907
3 changed files with 9 additions and 1 deletions

View File

@ -662,8 +662,11 @@ fn test_snapshot_restart_tower() {
cluster.restart_node(&validator_id, validator_info);
// Test cluster can still make progress and get confirmations in tower
// Use the restarted node as the discovery point so that we get updated
// validator's ContactInfo
let restarted_node_info = cluster.get_contact_info(&validator_id).unwrap();
cluster_tests::spend_and_verify_all_nodes(
&cluster.entry_point_info,
&restarted_node_info,
&cluster.funding_keypair,
1,
HashSet::new(),