From 3ffb45e3c8c29e933ea226e58677f8ca0ec6ddb6 Mon Sep 17 00:00:00 2001
From: Wei Tang <accounts@that.world>
Date: Mon, 10 Dec 2018 04:02:59 +0800
Subject: [PATCH] Fix master test build (#1239)

---
 substrate/core/client/src/client.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/substrate/core/client/src/client.rs b/substrate/core/client/src/client.rs
index 512eec1b57f..40bf6aa3d8c 100644
--- a/substrate/core/client/src/client.rs
+++ b/substrate/core/client/src/client.rs
@@ -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;
 
-- 
GitLab