]> Untitled Git - bdk/commit
fix(wallet): fix SingleRandomDraw to throw an error if insufficient funds
authorSteve Myers <steve@notmandatory.org>
Thu, 12 Sep 2024 18:14:54 +0000 (13:14 -0500)
committerSteve Myers <steve@notmandatory.org>
Thu, 12 Sep 2024 18:30:52 +0000 (13:30 -0500)
commit22a2f83db5df5f48974a06deef6b45d41a05ef3b
tree51496fcfe7b82466069b86a22cddb214dde061f5
parent1b50d88e4f76d466de99619b8b6be758b70b2011
fix(wallet): fix SingleRandomDraw to throw an error if insufficient funds

* fixed spelling and clippy errors
* updated tests to check for error variant instead of a panic
crates/wallet/src/wallet/coin_selection.rs