See https://github.com/bitcoindevkit/bdk/pull/1203#discussion_r1491860268
See #1203 (comment)