mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-07 22:27:21 +00:00
Client::info() no longer returns a Result (#2776)
This commit is contained in:
committed by
Bastian Köcher
parent
53e8ad8728
commit
5df89a8a6f
@@ -268,7 +268,7 @@ pub(crate) fn prove_finality<Block: BlockT<Hash=H256>, B: BlockchainBackend<Bloc
|
||||
let begin_number = blockchain.expect_block_number_from_id(&begin_id)?;
|
||||
|
||||
// early-return if we sure that there are no blocks finalized AFTER begin block
|
||||
let info = blockchain.info()?;
|
||||
let info = blockchain.info();
|
||||
if info.finalized_number <= begin_number {
|
||||
trace!(
|
||||
target: "finality",
|
||||
|
||||
Reference in New Issue
Block a user