mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 14:57:56 +00:00
Check in block authoring that we can author with current authoring version (#4201)
* Check in block authoring that we can author with current authoring version * Update client/consensus/pow/src/lib.rs Co-Authored-By: André Silva <andre.beat@gmail.com> * Fix compilation
This commit is contained in:
@@ -1753,9 +1753,10 @@ where
|
||||
}
|
||||
|
||||
impl<BE, E, B, RA> consensus::block_validation::Chain<B> for Client<BE, E, B, RA>
|
||||
where BE: backend::Backend<B, Blake2Hasher>,
|
||||
E: CallExecutor<B, Blake2Hasher>,
|
||||
B: BlockT<Hash = H256>
|
||||
where
|
||||
BE: backend::Backend<B, Blake2Hasher>,
|
||||
E: CallExecutor<B, Blake2Hasher>,
|
||||
B: BlockT<Hash = H256>
|
||||
{
|
||||
fn block_status(&self, id: &BlockId<B>) -> Result<BlockStatus, Box<dyn std::error::Error + Send>> {
|
||||
Client::block_status(self, id).map_err(|e| Box::new(e) as Box<_>)
|
||||
|
||||
Reference in New Issue
Block a user