sideswap-io / sideswapclient

GNU General Public License v3.0
39 stars 9 forks source link

Bug: Error when trying to send "MAX" with coin control #42

Closed vindard closed 3 months ago

vindard commented 4 months ago

Description

Desktop version: v1.5.4

I have 3 outputs in my regular wallet. If I select 1 output or 2 outputs and am trying to send "max" with them to a Green wallet 2-of-2 address I get the following error. Asset is L-BTC.

If I don't select "max" and I send an amount below enough to cover fees it works fine.

image

https://github.com/sideswap-io/sideswapclient/blob/3e70137d3b1991885687299138c62828fc8dce5a/rust/sideswap_client/src/gdk_ses_impl.rs#L1157

sideswap-io commented 3 months ago

Fixed in latest release (1.6.0).