From 9ee5a04a91c9715c0ef79cca2ebedac40b4e39ab Mon Sep 17 00:00:00 2001 From: ok300 <106775972+ok300@users.noreply.github.com> Date: Mon, 22 Jul 2024 07:47:14 +0000 Subject: [PATCH] Remove sync() call when handling Boltz update (#401) --- lib/core/src/sdk.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/core/src/sdk.rs b/lib/core/src/sdk.rs index 0df0638d7..765d6cf3b 100644 --- a/lib/core/src/sdk.rs +++ b/lib/core/src/sdk.rs @@ -275,7 +275,6 @@ impl LiquidSdk { } update = updates_stream.recv() => match update { Ok(update) => { - let _ = cloned.sync().await; let id = &update.id; match cloned.persister.fetch_swap_by_id(id) { Ok(Swap::Send(_)) => match cloned.send_swap_state_handler.on_new_status(&update).await {