Browse Source

Change to trace because most of the time it's irrelevant

temporary-fast-timelocks
Daniel Karzel 3 years ago
parent
commit
23ba4a41cd
No known key found for this signature in database GPG Key ID: 30C3FC2E438ADB6E
  1. 5
      daemon/src/db.rs

5
daemon/src/db.rs

@ -172,10 +172,9 @@ pub async fn insert_new_cfd_state_by_order_id(
.await
.context("loading latest state failed")?;
// make sure that the new state is different than the current one to avoid that we save the same
// state twice
if mem::discriminant(&latest_cfd_state_in_db) == mem::discriminant(&new_state) {
tracing::warn!(
// Since we have states where we add information this happens quite frequently
tracing::trace!(
"Same state transition for cfd with order_id {}: {}",
order_id,
latest_cfd_state_in_db

Loading…
Cancel
Save