Update to latest polkadot & substrate (#266)

This commit is contained in:
Alexander Krupenkin
2020-12-16 12:50:05 +03:00
committed by GitHub
parent c84c9b6bb0
commit 8226063135
10 changed files with 352 additions and 243 deletions
+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",
);
}