Skip to content

Commit

Permalink
chore(changelog): Document buffer comparison fix in issue-20
Browse files Browse the repository at this point in the history
  • Loading branch information
landabaso committed Sep 12, 2023
1 parent fea09b3 commit 52f8e5a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- **Descriptor Buffer Comparison**:
- Addressed a bug related to buffer comparisons in `src/descriptors.ts`.
- Modified the comparison logic for `witnessScript` and `redeemScript` to handle cases where one of the buffers may be `undefined`.
- Introduced the `eqBuffers` function to compare two buffers, ensuring that it correctly handles `undefined` values.
- This fix ensures accurate and error-free descriptor comparisons, particularly crucial for finalizing psbt indexes.
- Refer to [issue-20](https://github.com/bitcoinerlab/descriptors/issues/20) for more details.

## [1.1.1] - 2023-10-12

### Changed
Expand Down

0 comments on commit 52f8e5a

Please sign in to comment.