avoid long display of TxLogEntryType
@@ -555,11 +555,11 @@ pub enum TxLogEntryType {
impl fmt::Display for TxLogEntryType {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match *self {
- TxLogEntryType::ConfirmedCoinbase => write!(f, "Confirmed Coinbase"),
+ TxLogEntryType::ConfirmedCoinbase => write!(f, "Confirmed \nCoinbase"),
TxLogEntryType::TxReceived => write!(f, "Received Tx"),
TxLogEntryType::TxSent => write!(f, "Sent Tx"),
- TxLogEntryType::TxReceivedCancelled => write!(f, "Received Tx - Cancelled"),
- TxLogEntryType::TxSentCancelled => write!(f, "Send Tx - Cancelled"),
+ TxLogEntryType::TxReceivedCancelled => write!(f, "Received Tx\n- Cancelled"),
+ TxLogEntryType::TxSentCancelled => write!(f, "Send Tx\n- Cancelled"),
}
}
}
