Skip to content

Commit

Permalink
[api-client-extensions] remove unnecessary trait bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Sep 15, 2023
1 parent 26b1ddd commit 78859f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core-primitives/node-api/api-client-extensions/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ type RawEvents = Vec<u8>;
/// ApiClient extension that simplifies chain data access.
pub trait ChainApi {
type Hash;
type Block: substrate_api_client::ac_primitives::Block;
type Header: substrate_api_client::ac_primitives::Header;
type Block;
type Header;
type BlockNumber;

fn last_finalized_block(&self) -> ApiResult<Option<GenericSignedBlock<Self::Block>>>;
Expand Down

0 comments on commit 78859f0

Please sign in to comment.