Remove tracing context

The swap_cli can only do one swap at a time, no need for the swap ID span.
pull/243/head
Thomas Eizinger 3 years ago
parent 3d2d447fba
commit 6b74761e34
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

@ -30,7 +30,6 @@ pub async fn run(swap: bob::Swap) -> Result<BobState> {
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,

Loading…
Cancel
Save