Update to latest polkadot & substrate (#266)

This commit is contained in:
Alexander Krupenkin authored and GitHub committed 2020-12-16 10:50:05 +01:00
1 parent aba8f46ec9
commit a060991bbe
10 files changed
+352 -243

No files matched your search

+1 -1
View File
@@ -180,7 +180,7 @@ where
"validation failed because a justification is needed if the block at the top of the chain."
);
Ok(Validation::Failure)
Ok(Validation::Failure { disconnect: false })
} else {
Ok(Validation::Success { is_new_best: false })
}
+1 -1
View File
@@ -176,7 +176,7 @@ fn invalid_if_no_data_exceeds_best_known_number() {
assert_eq!(
res.unwrap(),
Validation::Failure,
Validation::Failure { disconnect: false },
"validation fails if no justification and block number >= best known number",
);
}