tdex-network / tdex-daemon

Go implementation of the TDEX Beta Daemon
https://tdex.network
MIT License
11 stars 13 forks source link

[Fee account] Unable to withdraw all funds #531

Closed altafan closed 2 years ago

altafan commented 2 years ago

It's not possible to withdraw all the LBTC funds from the fee account because it doesn't subtract fees in such case.

The sendToManyWithoutFeeTopup function used to craft the transaction has an option subtractFees which should be set to true in case the amount matches the fee account balance.