mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-22 19:41:07 +00:00
Fix master test build (#1239)
This commit is contained in:
@@ -1699,11 +1699,11 @@ pub(crate) mod tests {
|
|||||||
|
|
||||||
// G -> A1
|
// G -> A1
|
||||||
let a1 = client.new_block().unwrap().bake().unwrap();
|
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
|
// A1 -> A2
|
||||||
let a2 = client.new_block().unwrap().bake().unwrap();
|
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;
|
let genesis_hash = client.info().unwrap().chain.genesis_hash;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user