fix disputes tests (#3974)

This commit is contained in:
Andronik Ordian
2021-09-29 23:23:04 +02:00
committed by GitHub
parent b6a87891ac
commit 7542a73f12
+2 -2
View File
@@ -88,10 +88,10 @@ fn test_harness<T: Future<Output = VirtualOverseer>>(
let target_hash = case_vars.target_block.clone();
let selection_process = async move {
let best = select_relay_chain
.finality_target_with_fallback(target_hash, Some(target_hash), None)
.finality_target_with_longest_chain(target_hash, target_hash, None)
.await
.unwrap();
finality_target_tx.send(best).unwrap();
finality_target_tx.send(Some(best)).unwrap();
()
};