mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 20:35:41 +00:00
rustfmt
This commit is contained in:
@@ -210,10 +210,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, hash).await.is_ok());
|
||||||
.chainhead_unstable_unpin(sub_id, hash)
|
|
||||||
.await
|
|
||||||
.is_ok());
|
|
||||||
// The block was already unpinned.
|
// The block was already unpinned.
|
||||||
assert!(rpc.chainhead_unstable_unpin(sub_id, hash).await.is_err());
|
assert!(rpc.chainhead_unstable_unpin(sub_id, hash).await.is_err());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user