Remove sync() call when handling Boltz update (#401)

This commit is contained in:
ok300
2024-07-22 07:47:14 +00:00
committed by GitHub
parent f47a183af1
commit 9ee5a04a91

View File

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