Skip to content

Commit

Permalink
Fix update_fields
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgranhao committed Jan 3, 2025
1 parent a020ed5 commit b18ad6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/core/src/sync/model/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b18ad6d

Please sign in to comment.