checking proofs in safe contract

This commit is contained in:
Robert Habermeier
2017-07-28 19:38:52 +02:00
parent e84f308264
commit 2bd5c3dba7
4 changed files with 124 additions and 75 deletions

View File

@@ -765,7 +765,7 @@ impl Client {
res.map(|(output, proof)| (output, proof.into_iter().map(|x| x.into_vec()).collect()))
};
match (with_state)(&call) {
match with_state.generate_proof(&call) {
Ok(proof) => proof,
Err(e) => {
warn!(target: "client", "Failed to generate transition proof for block {}: {}", hash, e);