From 78859f04e88c2411e40e55328579e8e700ce6413 Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Fri, 15 Sep 2023 09:06:44 +0200 Subject: [PATCH] [api-client-extensions] remove unnecessary trait bounds --- core-primitives/node-api/api-client-extensions/src/chain.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core-primitives/node-api/api-client-extensions/src/chain.rs b/core-primitives/node-api/api-client-extensions/src/chain.rs index 5184e84885..d69edec9b3 100644 --- a/core-primitives/node-api/api-client-extensions/src/chain.rs +++ b/core-primitives/node-api/api-client-extensions/src/chain.rs @@ -30,8 +30,8 @@ type RawEvents = Vec; /// 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>>;