Fix two minor warnings (#6650)

* Unused import in no_std builds
* Global attribute in non-root of a crate
This commit is contained in:
Alexander Theißen
2020-07-14 19:21:32 +02:00
committed by GitHub
parent 4613dc2af4
commit c802d425d9
2 changed files with 1 additions and 3 deletions
@@ -31,7 +31,6 @@ use sp_std::borrow::Cow;
use sp_std::vec::Vec;
#[cfg(feature = "std")]
use sp_core::traits::BareCryptoStorePtr;
use sp_std::convert::TryInto;
#[cfg(feature = "std")]
use log::debug;
@@ -385,6 +384,7 @@ where
{
use sp_core::crypto::Public;
use sp_application_crypto::AppKey;
use sp_std::convert::TryInto;
let encoded = localized_payload(round, set_id, &message);
let signature = keystore.read()