Fetch multiple UTXOs when we do max_giveable

This commit is contained in:
devbordecraft 2021-08-29 13:24:09 +02:00 committed by rishflab
parent f2df838a3c
commit 7a12a847a0
2 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
See issues: https://github.com/comit-network/xmr-btc-swap/issues/709 https://github.com/comit-network/xmr-btc-swap/issues/688, https://github.com/comit-network/xmr-btc-swap/issues/701. See issues: https://github.com/comit-network/xmr-btc-swap/issues/709 https://github.com/comit-network/xmr-btc-swap/issues/688, https://github.com/comit-network/xmr-btc-swap/issues/701.
- Add the ability to view the swap-cli bitcoin balance and withdraw - Add the ability to view the swap-cli bitcoin balance and withdraw
See issue https://github.com/comit-network/xmr-btc-swap/issues/694 See issue https://github.com/comit-network/xmr-btc-swap/issues/694
- An issue where the ASB withdraw one bitcoin UTXO at a time instead of the whole balance.
See issue https://github.com/comit-network/xmr-btc-swap/issues/662
## [0.8.1] - 2021-08-16 ## [0.8.1] - 2021-08-16

View File

@ -400,6 +400,7 @@ where
let dummy_script = Script::from(vec![0u8; locking_script_size]); let dummy_script = Script::from(vec![0u8; locking_script_size]);
tx_builder.drain_to(dummy_script); tx_builder.drain_to(dummy_script);
tx_builder.fee_rate(fee_rate); tx_builder.fee_rate(fee_rate);
tx_builder.drain_wallet();
let response = tx_builder.finish(); let response = tx_builder.finish();
match response { match response {