mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 18:11:10 +00:00
fix formatting and clippy
This commit is contained in:
+1
-3
@@ -39,7 +39,5 @@ pub use secrecy::{ExposeSecret, SecretString};
|
|||||||
// DeriveJunctions are the "path" part of these SecretUris.
|
// DeriveJunctions are the "path" part of these SecretUris.
|
||||||
pub use crypto::{DeriveJunction, SecretUri, SecretUriError, DEV_PHRASE};
|
pub use crypto::{DeriveJunction, SecretUri, SecretUriError, DEV_PHRASE};
|
||||||
|
|
||||||
#[cfg(all(
|
#[cfg(all(feature = "subxt", not(any(feature = "web", feature = "native"))))]
|
||||||
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.");
|
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();
|
let sub_id = blocks.subscription_id().unwrap();
|
||||||
|
|
||||||
assert!(rpc
|
assert!(rpc
|
||||||
.chainhead_unstable_unpin(sub_id.clone(), hash)
|
.chainhead_unstable_unpin(sub_id, hash)
|
||||||
.await
|
.await
|
||||||
.is_ok());
|
.is_ok());
|
||||||
// The block was already unpinned.
|
// The block was already unpinned.
|
||||||
|
|||||||
Reference in New Issue
Block a user