Cleanup some warnings (#7816)

* client: cleanup redundant semicolon warnings

* grandpa: remove usage of deprecated compare_and_swap
This commit is contained in:
André Silva
2021-01-03 23:29:46 +00:00
committed by GitHub
parent 672a2912b8
commit e367d57baf
6 changed files with 9 additions and 9 deletions
@@ -286,7 +286,7 @@ impl<B: ChainApi> ValidatedPool<B> {
/// Transactions that are missing from the pool are not submitted.
pub fn resubmit(&self, mut updated_transactions: HashMap<ExtrinsicHash<B>, ValidatedTransactionFor<B>>) {
#[derive(Debug, Clone, Copy, PartialEq)]
enum Status { Future, Ready, Failed, Dropped };
enum Status { Future, Ready, Failed, Dropped }
let (mut initial_statuses, final_statuses) = {
let mut pool = self.pool.write();