mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-01 16:31:07 +00:00
BlockId removal: refactor: Backend::block_indexed_body (#6233)
* BlockId removal: refactor: Backend::block_indexed_body It changes the arguments of `Backend::block_indexed_body` method from: `BlockId<Block>` to: `&Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
This commit is contained in:
1 parent
a4a5fa8523
commit
a87b2e5241
2 files changed
+181
-181
No files matched your search
Generated
+180
-180
File diff suppressed because it is too large.
Load diff
@@ -399,7 +399,7 @@ impl sc_client_api::BlockBackend<Block> for Client {
|
||||
|
||||
fn block_indexed_body(
|
||||
&self,
|
||||
id: &BlockId<Block>,
|
||||
id: &<Block as BlockT>::Hash,
|
||||
) -> sp_blockchain::Result<Option<Vec<Vec<u8>>>> {
|
||||
with_client! {
|
||||
self,
|
||||
|
||||
Reference in new issue
Block a user