mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 09:17:58 +00:00
fix formatting and clippy
This commit is contained in:
+2
-4
@@ -39,7 +39,5 @@ pub use secrecy::{ExposeSecret, SecretString};
|
||||
// DeriveJunctions are the "path" part of these SecretUris.
|
||||
pub use crypto::{DeriveJunction, SecretUri, SecretUriError, DEV_PHRASE};
|
||||
|
||||
#[cfg(all(
|
||||
feature = "subxt", not(any(feature = "web", feature = "native"))
|
||||
))]
|
||||
compile_error!("subxt-signer: When using the 'subxt' feature, exactly one of the 'web' and 'native' features should be used.");
|
||||
#[cfg(all(feature = "subxt", not(any(feature = "web", feature = "native"))))]
|
||||
compile_error!("subxt-signer: When using the 'subxt' feature, exactly one of the 'web' and 'native' features should be used.");
|
||||
|
||||
@@ -211,7 +211,7 @@ async fn chainhead_unstable_unpin() {
|
||||
let sub_id = blocks.subscription_id().unwrap();
|
||||
|
||||
assert!(rpc
|
||||
.chainhead_unstable_unpin(sub_id.clone(), hash)
|
||||
.chainhead_unstable_unpin(sub_id, hash)
|
||||
.await
|
||||
.is_ok());
|
||||
// The block was already unpinned.
|
||||
|
||||
Reference in New Issue
Block a user