Improve logging for Swap Cli.

This commit is contained in:
Philipp Hoenisch 2021-05-12 15:50:00 +10:00
parent 4f45a26a83
commit 493545d07f
No known key found for this signature in database
GPG Key ID: E5F8E74C672BC666

View File

@ -343,7 +343,12 @@ where
{
debug!("Requesting quote");
let bid_quote = bid_quote.await?;
info!("Received quote: 1 XMR ~ {}", bid_quote.price);
info!(
minimum_amount = %bid_quote.min_quantity,
maximum_amount = %bid_quote.max_quantity,
"Received quote: 1 XMR ~ {}",
bid_quote.price
);
let mut current_maximum_giveable = max_giveable().await?;