mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 03:27:58 +00:00
Do not call longest chain by default (#6704)
* Do not call longest chain by default We always called longest chain by default just for some potential logging. This was probably some oversight for when this select chain implementation was introduced. * Fix tests
This commit is contained in:
@@ -88,7 +88,7 @@ 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_longest_chain(target_hash, target_hash, None)
|
||||
.finality_target_with_longest_chain(target_hash, None)
|
||||
.await
|
||||
.unwrap();
|
||||
finality_target_tx.send(Some(best)).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user