]> Untitled Git - bdk/commit
Consolidate `calc_checksum_bytes_internal` routine
authorSebastian Falbesoner <sebastian.falbesoner@gmail.com>
Tue, 2 Jan 2024 03:09:45 +0000 (04:09 +0100)
committerSebastian Falbesoner <sebastian.falbesoner@gmail.com>
Tue, 2 Jan 2024 13:16:34 +0000 (14:16 +0100)
commited91a4bdb49276057eb7458e1a94653553be24e7
tree3199c82b8741e2cede268f625a49a2b9985c62c6
parent179cfeff51cefda80c16fa4558ba039143a2ad2c
Consolidate `calc_checksum_bytes_internal` routine

Now that the deprecated `get_checksum{,_bytes}` routines are removed,
the checksum is always computed with ignored data after the first '#',
i.e. the boolean parameter `exclude_hash` is not needed anymore and
the functionality can be consolidated into `calc_checksum_bytes`.
crates/bdk/src/descriptor/checksum.rs