From d5411ce1a753659e7551115db4665a13933d202b Mon Sep 17 00:00:00 2001 From: SW van Heerden Date: Tue, 20 Feb 2024 16:44:12 +0200 Subject: [PATCH] fmt --- .../src/ui/state/app_state.rs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/applications/minotari_console_wallet/src/ui/state/app_state.rs b/applications/minotari_console_wallet/src/ui/state/app_state.rs index 79b0942e3e..9f2642fcd4 100644 --- a/applications/minotari_console_wallet/src/ui/state/app_state.rs +++ b/applications/minotari_console_wallet/src/ui/state/app_state.rs @@ -565,9 +565,7 @@ impl AppState { } pub fn get_completed_txs(&self) -> Vec<&CompletedTransactionInfo> { - if self - .completed_tx_filter == TransactionFilter::AbandonedCoinbases - { + if self.completed_tx_filter == TransactionFilter::AbandonedCoinbases { self.cached_data .completed_txs .iter() @@ -1391,7 +1389,7 @@ impl Default for AppStateConfig { } #[derive(Clone, PartialEq)] - pub enum TransactionFilter{ - None, - AbandonedCoinbases, - } +pub enum TransactionFilter { + None, + AbandonedCoinbases, +}