Remove tracing context

The swap_cli can only do one swap at a time, no need for the swap ID span.
This commit is contained in:
Thomas Eizinger 2021-02-26 17:03:58 +11:00
parent 3d2d447fba
commit 6b74761e34
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96

View File

@ -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,