Skip to content

Commit

Permalink
Clean up download-offers output
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-belcher committed Feb 23, 2022
1 parent 390341b commit 43f0355
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ pub async fn download_and_display_offers(maker_address: Option<String>) {
}

println!(
"{:3} {:70} {:12} {:12} {:12} {:12} {:12} {:12}",
"{:<3} {:<70} {:<12} {:<12} {:<12} {:<12} {:<12} {:<12}",
"n",
"maker address",
"max size",
Expand All @@ -559,9 +559,9 @@ pub async fn download_and_display_offers(maker_address: Option<String>) {
if let Some(offer_address) = addresses_offers_map.get(&address_str) {
let o = &offer_address.offer;
println!(
"{:3} {:70} {:12} {:12} {:12} {:12} {:12} {:12}",
"{:<3} {:<70} {:<12} {:<12} {:<12} {:<12} {:<12} {:<12}",
ii,
address,
address_str,
o.max_size,
o.min_size,
o.absolute_fee_sat,
Expand All @@ -570,7 +570,7 @@ pub async fn download_and_display_offers(maker_address: Option<String>) {
o.minimum_locktime
);
} else {
println!("{:3} {:70} UNREACHABLE", ii, address);
println!("{:<3} {:<70} UNREACHABLE", ii, address);
}
}
}
Expand Down

0 comments on commit 43f0355

Please sign in to comment.