mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
Update to latest polkadot & substrate (#266)
This commit is contained in:
committed by
GitHub
parent
c84c9b6bb0
commit
8226063135
@@ -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 })
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user