]> Untitled Git - bdk/commit
Revert back to Vec to hold utxos in builder
authorLLFourn <lloyd.fourn@gmail.com>
Fri, 22 Jan 2021 03:04:06 +0000 (14:04 +1100)
committerLLFourn <lloyd.fourn@gmail.com>
Fri, 22 Jan 2021 04:08:30 +0000 (15:08 +1100)
commit10fcba94393fdfa762959e2fdc053a1f83f980cd
tree41a7eb64a0c0db1297652e6932effe7b3375d852
parent890d6191a1b61e6493a65ec8b9446bfddcfc747b
Revert back to Vec to hold utxos in builder

Due to brain malfunction I made utxos into a BTree. This made a test
pass but is incorrect. The test itself was incorrect as per comment in

https://github.com/bitcoindevkit/bdk/pull/258#issuecomment-758370380

So I (1) reverted utxos back to a Vec, (2) fixed the test and expanded
the comment in the test.
src/wallet/mod.rs
src/wallet/tx_builder.rs