Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Unable to determine send amount to empty wallet #235

Open
cdelargy opened this issue Dec 28, 2016 · 1 comment
Open

Unable to determine send amount to empty wallet #235

cdelargy opened this issue Dec 28, 2016 · 1 comment

Comments

@cdelargy
Copy link

Use case: User has a wallet they would like to empty before creating a new wallet on the device. The only viable approach to send all funds in a single transaction is to over-estimate the fee, cancel the resulting transaction and viewing the fee suggested, then manually calculating a send amount. This is prone to errors and might make it difficult to clean out a wallet with change in it.

@jonasschnelli
Copy link
Member

Agree that this is not ideal right now.
I think a function to sweep the wallet to an address or something similar to Bitcoin-Cores subtractFeeFromAmount would be nice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants