Check block CLI command (#4240)

* Check block operation

* Update client/cli/src/lib.rs

* Update client/cli/src/params.rs
This commit is contained in:
Arkadiy Paronyan
2019-11-28 12:24:28 +01:00
committed by Gavin Wood
parent f78b83e363
commit 504e2f8bd5
22 changed files with 543 additions and 456 deletions
@@ -662,6 +662,7 @@ impl<B: BlockT> ChainSync<B> {
justification: block_data.block.justification,
origin: block_data.origin,
allow_missing_state: false,
import_existing: false,
}
}).collect()
}
@@ -675,6 +676,7 @@ impl<B: BlockT> ChainSync<B> {
justification: b.justification,
origin: Some(who.clone()),
allow_missing_state: true,
import_existing: false,
}
}).collect()
}