mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
Removing wasm unused import warnings (#9492)
* Removing wasm unused import warnings * cargo fmt
This commit is contained in:
@@ -21,7 +21,9 @@
|
||||
|
||||
use sp_std::{prelude::*, result::Result};
|
||||
|
||||
use codec::{Decode, Encode};
|
||||
#[cfg(feature = "std")]
|
||||
use codec::Decode;
|
||||
use codec::Encode;
|
||||
use sp_inherents::{Error, InherentData, InherentIdentifier, IsFatalError};
|
||||
use sp_runtime::{traits::Header as HeaderT, RuntimeString};
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
//! Structs and helpers for distributing a voter's stake among various winners.
|
||||
|
||||
use crate::{Error, ExtendedBalance, IdentifierT, PerThing128, __OrInvalidIndex};
|
||||
#[cfg(feature = "std")]
|
||||
use codec::{Decode, Encode};
|
||||
use sp_arithmetic::{
|
||||
traits::{Bounded, Zero},
|
||||
|
||||
Reference in New Issue
Block a user