Skip to content

Commit

Permalink
fix wrong combiner condition (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
biryukovmaxim committed Sep 24, 2024
1 parent d66cbe3 commit 4bfa392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/pskt/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ where
V: Eq + Clone,
K: Ord + Clone,
{
if lhs.len() > rhs.len() {
if lhs.len() >= rhs.len() {
if let Some((field, rhs, lhs)) =
rhs.iter().map(|(k, v)| (k, v, lhs.get(k))).find(|(_, v, rhs_v)| rhs_v.is_some_and(|rv| rv != *v))
{
Expand Down

0 comments on commit 4bfa392

Please sign in to comment.