Skip to content

Commit 7e483c0

Browse files
committed
map_merkle_path_add: ignore duplicates as per the other _add functions
1 parent 1c482b8 commit 7e483c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/map.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ int wally_map_merkle_path_add(struct wally_map *map_in,
727727

728728
/* Add map for tap leaves */
729729
return map_add(map_in, pub_key, pub_key_len,
730-
merkle_hashes, merkle_hashes_len, false, false);
730+
merkle_hashes, merkle_hashes_len, false, true);
731731
}
732732

733733
int wally_keypath_get_fingerprint(const unsigned char *val, size_t val_len,

0 commit comments

Comments
 (0)