Compact transaction table at CLI view (#822)

This commit is contained in:
ardocrat
2026-10-07 22:13:12 +03:00
committed by GitHub
parent fe79256467
commit 965e8f1667
2 changed files with 88 additions and 83 deletions
+4 -4
View File
@@ -608,12 +608,12 @@ pub enum TxLogEntryType {
impl fmt::Display for TxLogEntryType {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match *self {
TxLogEntryType::ConfirmedCoinbase => write!(f, "Confirmed \nCoinbase"),
TxLogEntryType::ConfirmedCoinbase => write!(f, "Confirmed Coinbase"),
TxLogEntryType::TxReceived => write!(f, "Received Tx"),
TxLogEntryType::TxSent => write!(f, "Sent Tx"),
TxLogEntryType::TxReceivedCancelled => write!(f, "Received Tx\n- Cancelled"),
TxLogEntryType::TxSentCancelled => write!(f, "Sent Tx\n- Cancelled"),
TxLogEntryType::TxReverted => write!(f, "Received Tx\n- Reverted"),
TxLogEntryType::TxReceivedCancelled => write!(f, "Received Tx - Cancelled"),
TxLogEntryType::TxSentCancelled => write!(f, "Sent Tx - Cancelled"),
TxLogEntryType::TxReverted => write!(f, "Received Tx - Reverted"),
}
}
}