From b18ad6d097db46630e1e48d82944afeed8046b80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Granh=C3=A3o?= Date: Fri, 3 Jan 2025 09:37:02 +0000 Subject: [PATCH] Fix `update_fields` --- lib/core/src/sync/model/data.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/core/src/sync/model/data.rs b/lib/core/src/sync/model/data.rs index baebda9a7..e79e677db 100644 --- a/lib/core/src/sync/model/data.rs +++ b/lib/core/src/sync/model/data.rs @@ -50,6 +50,9 @@ impl ChainSyncData { if update.accept_zero_conf != swap.accept_zero_conf { updated_fields.push("accept_zero_conf".to_string()); } + if update.accepted_receiver_amount_sat != swap.accepted_receiver_amount_sat { + updated_fields.push("accepted_receiver_amount_sat".to_string()); + } Some(updated_fields) } None => None,