]> Untitled Git - bdk/commit
test(wallet): check there are no duplicates across required and optional utxos
authornymius <155548262+nymius@users.noreply.github.com>
Thu, 23 Jan 2025 16:59:38 +0000 (13:59 -0300)
committernymius <155548262+nymius@users.noreply.github.com>
Wed, 5 Mar 2025 23:47:40 +0000 (10:47 +1100)
commit2f83b4508fe2369c6336c9579517f3a4eb25d923
tree5b20d305ade33e50800cffc8a5e26c6f26c2bb06
parent39df2b940a161d6b5468e6a6c36f888c14a3e24e
test(wallet): check there are no duplicates across required and optional utxos

This test replaces the one used to test
`coin_selection::filter_duplicates` introduced in
5299db34cb9117ad1b66a6afcb51f6ca7e1f0d95.

As the code changed and there is not a single point to verificate the
following properties:
- there are no duplicates in required utxos
- there are no duplicates in optional utxos
- there are no duplicates across optional and required utxos
anymore, test have been prefixed with `not_duplicated_utxos*` to allow
its joint execution by using the following command:
cargo test -- not_duplicated_utxos
crates/wallet/src/wallet/mod.rs