Fix service tests not calling update_chain (#6232)

This commit is contained in:
Pierre Krieger
2020-06-04 14:06:44 +02:00
committed by GitHub
parent 25fe9af5a8
commit 3fef099893
2 changed files with 15 additions and 0 deletions
+1
View File
@@ -457,6 +457,7 @@ pub fn sync<G, E, Fb, F, Lb, L, B, ExF, U>(
make_block_and_import(&first_service.get(), first_user_data);
}
(network.full_nodes[0].1).0.lock().unwrap().network().update_chain();
network.full_nodes[0].3.clone()
};