Ensure AncestorHashesSerice selects an open port (#21919)

This commit is contained in:
carllin
2021-12-18 00:44:01 -05:00
committed by GitHub
parent 97a1fa10a6
commit 7f6fb6937a
6 changed files with 30 additions and 4 deletions

View File

@@ -836,6 +836,11 @@ impl Validator {
.iter()
.map(|s| s.try_clone().expect("Failed to clone TVU forwards Sockets"))
.collect(),
ancestor_hashes_requests: node
.sockets
.ancestor_hashes_requests
.try_clone()
.expect("Failed to clone ancestor_hashes_requests socket"),
},
blockstore.clone(),
ledger_signal_receiver,