From 6b74761e34f00d6049e6848dd514301e5dfa8e2a Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 26 Feb 2021 17:03:58 +1100 Subject: [PATCH] Remove tracing context The swap_cli can only do one swap at a time, no need for the swap ID span. --- swap/src/protocol/bob/swap.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/swap/src/protocol/bob/swap.rs b/swap/src/protocol/bob/swap.rs index 5f499ea8..cb412c2a 100644 --- a/swap/src/protocol/bob/swap.rs +++ b/swap/src/protocol/bob/swap.rs @@ -30,7 +30,6 @@ pub async fn run(swap: bob::Swap) -> Result { run_until(swap, is_complete).await } -#[tracing::instrument(name = "swap", skip(swap,is_target_state), fields(id = %swap.swap_id))] pub async fn run_until( swap: bob::Swap, is_target_state: fn(&BobState) -> bool,