Skip to content

Commit

Permalink
chore: minor logging improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Nov 9, 2024
1 parent 607331c commit 4f2bcc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boltzr/src/swap/filters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use anyhow::Result;
use diesel::{BoolExpressionMethods, ExpressionMethods};
use std::collections::{HashMap, HashSet};
use std::sync::Arc;
use tracing::warn;
use tracing::{trace, warn};

pub type Filters = HashMap<String, (HashSet<Outpoint>, HashSet<Vec<u8>>)>;

Expand Down Expand Up @@ -164,7 +164,7 @@ where
}
}
None => {
warn!(
trace!(
"Could not recreate filter for {} Swap {}: no currency for symbol {}",
swap.kind(),
swap.id(),
Expand Down
1 change: 1 addition & 0 deletions lib/swap/NodeSwitch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class NodeSwitch {
) {
this.clnAmountThreshold =
cfg?.clnAmountThreshold || NodeSwitch.defaultClnAmountThreshold;
this.logger.info(`CLN invoice threshold: ${this.clnAmountThreshold} sat`);

const swapNode =
cfg?.swapNode !== undefined
Expand Down

0 comments on commit 4f2bcc0

Please sign in to comment.