mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
BlockId removal: refactor: Finalizer (#1779)
* BlockId removal: refactor: Finalizer It changes the arguments of methods of `Finalizer` trait from: block: `BlockId<Block>` to: hash: `&Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * update lockfile for {"polkadot", "substrate"} * update Cargo.lock * Cargo.lock update again Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
cd00590f21
commit
e521ad2504
Generated
+187
-187
File diff suppressed because it is too large
Load Diff
@@ -102,7 +102,7 @@ where
|
||||
|
||||
// don't finalize the same block multiple times.
|
||||
if parachain.usage_info().chain.finalized_hash != hash {
|
||||
if let Err(e) = parachain.finalize_block(BlockId::hash(hash), None, true) {
|
||||
if let Err(e) = parachain.finalize_block(&hash, None, true) {
|
||||
match e {
|
||||
ClientError::UnknownBlock(_) => tracing::debug!(
|
||||
target: "cumulus-consensus",
|
||||
|
||||
Reference in New Issue
Block a user