From 09cde81f87486e4f2ae65d258a0b764ef95ebc46 Mon Sep 17 00:00:00 2001 From: Szegoo Date: Sun, 3 Mar 2024 21:58:34 +0100 Subject: [PATCH] fix warnings --- node/bin/main.rs | 2 -- node/src/lib.rs | 3 --- node/src/parachain/chain_spec.rs | 2 +- node/src/rpc.rs | 2 +- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/node/bin/main.rs b/node/bin/main.rs index 2af58f51..16e86263 100644 --- a/node/bin/main.rs +++ b/node/bin/main.rs @@ -1,5 +1,3 @@ -#![warn(missing_docs)] - fn main() -> sc_cli::Result<()> { regionx_node::run() } diff --git a/node/src/lib.rs b/node/src/lib.rs index 42816d72..0205f07e 100644 --- a/node/src/lib.rs +++ b/node/src/lib.rs @@ -1,6 +1,3 @@ -#![warn(missing_docs)] -#![warn(unused_extern_crates)] - pub mod parachain; mod cli; diff --git a/node/src/parachain/chain_spec.rs b/node/src/parachain/chain_spec.rs index f125aebe..96212e13 100644 --- a/node/src/parachain/chain_spec.rs +++ b/node/src/parachain/chain_spec.rs @@ -1,5 +1,5 @@ use cumulus_primitives_core::ParaId; -use regionx_primitives::{opaque::Block, AccountId, Balance, Hash, Nonce, Signature}; +use regionx_primitives::{AccountId, Signature}; use regionx_runtime::{AuraId, EXISTENTIAL_DEPOSIT}; use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup}; use sc_service::ChainType; diff --git a/node/src/rpc.rs b/node/src/rpc.rs index 31de88f8..bdf79049 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -7,7 +7,7 @@ use std::sync::Arc; -use regionx_primitives::{opaque::Block, AccountId, Balance, Hash, Nonce}; +use regionx_primitives::{opaque::Block, AccountId, Balance, Nonce}; pub use sc_rpc::DenyUnsafe; use sc_transaction_pool_api::TransactionPool;