From e4ed74b0fb6c2fd5585f55c2702b97b56d99c7f6 Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Fri, 15 Sep 2023 08:21:02 +0200 Subject: [PATCH] Revert "make get_system_account_next_index available for no_std (#594)" This reverts commit b6a998e540729fd56a9c15590f60416c52718515. --- src/api/rpc_api/frame_system.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/api/rpc_api/frame_system.rs b/src/api/rpc_api/frame_system.rs index aa177efbf..efb53e9e5 100644 --- a/src/api/rpc_api/frame_system.rs +++ b/src/api/rpc_api/frame_system.rs @@ -29,6 +29,8 @@ pub trait GetAccountInformation { type AccountData; /// Retrieves the next account index as available on the node. + // FIXME: Remove std feature #574 + #[cfg(feature = "std")] async fn get_system_account_next_index( &self, account_id: Self::AccountId, @@ -58,6 +60,8 @@ where type Index = T::Index; type AccountData = T::AccountData; + // FIXME: Remove std feature: #574 + #[cfg(feature = "std")] async fn get_system_account_next_index( &self, account_id: Self::AccountId,