Fix master test build (#1239)

This commit is contained in:
Wei Tang
2018-12-10 04:02:59 +08:00
committed by Bastian Köcher
parent e203c285e2
commit 3ffb45e3c8
+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;