Skip to content

Commit

Permalink
Remove sync() call when handling Boltz update (breez#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
ok300 authored Jul 22, 2024
1 parent f47a183 commit 9ee5a04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/core/src/sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9ee5a04

Please sign in to comment.