jdogresorg / freewallet-desktop

Desktop wallet for Win/Mac/Linux which supports Bitcoin and Counterparty
https://freewallet.io
MIT License
67 stars 54 forks source link

Sweep function gave an erroneous error message. #180

Closed subterranean1 closed 3 months ago

subterranean1 commented 9 months ago

On 12/11/23 I attempted to perform a sweep function using Freewallet desktop for Windows. At the time of the sweep I had an XCP balance of approximately 1.49. Upon broadcasting the transaction I got the error message "Error composing sweep transaction via API: ['insufficient XCP balance for sweep. Need 311200000 XCP for antispam fee']

On 12/12 I purchased 30 XCP and sent it to my wallet. I again attempted the sweep and it worked without incident. The sending address is: 1AV3hDLsr7hLBkv9eWvFvsFNTCCNww9eAo. The successful transaction is: https://xchain.io/tx/be8b406d2093b5b3aa1212f884127c6d6b1b666541ef4d7ad50c511c08ae90bf and the total cost in XCP was 3.122

jdogresorg commented 3 months ago

I believe this issue is in the counterparty-lib / counterparty-core repository, and is a error display issue where the XCP fee required is displayed as an integer instead of as decimal (showing 311200000 instead of 3.11200000).

If you continue to have this issue, please create an issue in the @CounterpartyXCP counterpartycore repository to make the developers aware of the issue, and they will most likely get it fixed in the next release. 👍

Closing issue now