From c9d3f9cc4063fc0e17f0d31bd09697f31720658c Mon Sep 17 00:00:00 2001 From: binarybaron Date: Thu, 25 Jul 2024 15:34:44 +0200 Subject: [PATCH] fix: table header capitilzation --- swap/src/bin/asb.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/swap/src/bin/asb.rs b/swap/src/bin/asb.rs index 696e32da..6a8cc829 100644 --- a/swap/src/bin/asb.rs +++ b/swap/src/bin/asb.rs @@ -230,17 +230,17 @@ async fn main() -> Result<()> { } Command::History { only_unfinished } => { let db = open_db(config.data.dir.join("sqlite"), AccessMode::ReadOnly).await?; - let mut table = Table::new(); + let mut table: Table = Table::new(); table.set_header(vec![ - "SWAP ID", - "START DATETIME", - "CURRENT STATE", - "BTC AMOUNT", - "XMR AMOUNT", - "EXCHANGE RATE", - "TRADING PARTNER PEER ID", - "COMPLETED", + "Swap ID", + "Start Date", + "State", + "BTC Amount", + "XMR Amount", + "Exchange Rate", + "Trading Partner Peer ID", + "Completed", ]); let all_swaps = db.all().await?;