Fix master test build (#1239)

This commit is contained in:
Wei Tang authored and Bastian Köcher committed 2018-12-09 21:02:59 +01:00
1 parent e203c285e2
commit 3ffb45e3c8
1 file changed
+2 -2
+2 -2
View File
@@ -1699,11 +1699,11 @@ pub(crate) mod tests {
// G -> A1
let a1 = client.new_block().unwrap().bake().unwrap();
client.justify_and_import(BlockOrigin::Own, a1.clone()).unwrap();
client.import(BlockOrigin::Own, a1.clone()).unwrap();
// A1 -> A2
let a2 = client.new_block().unwrap().bake().unwrap();
client.justify_and_import(BlockOrigin::Own, a2.clone()).unwrap();
client.import(BlockOrigin::Own, a2.clone()).unwrap();
let genesis_hash = client.info().unwrap().chain.genesis_hash;