mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-06 13:34:38 -04:00
fix: table header capitilzation
This commit is contained in:
parent
ed314c4c09
commit
c9d3f9cc40
1 changed files with 9 additions and 9 deletions
|
@ -230,17 +230,17 @@ async fn main() -> Result<()> {
|
||||||
}
|
}
|
||||||
Command::History { only_unfinished } => {
|
Command::History { only_unfinished } => {
|
||||||
let db = open_db(config.data.dir.join("sqlite"), AccessMode::ReadOnly).await?;
|
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![
|
table.set_header(vec![
|
||||||
"SWAP ID",
|
"Swap ID",
|
||||||
"START DATETIME",
|
"Start Date",
|
||||||
"CURRENT STATE",
|
"State",
|
||||||
"BTC AMOUNT",
|
"BTC Amount",
|
||||||
"XMR AMOUNT",
|
"XMR Amount",
|
||||||
"EXCHANGE RATE",
|
"Exchange Rate",
|
||||||
"TRADING PARTNER PEER ID",
|
"Trading Partner Peer ID",
|
||||||
"COMPLETED",
|
"Completed",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
let all_swaps = db.all().await?;
|
let all_swaps = db.all().await?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue