[bisq-network/bisq] Trade timeout on ranged amount BSQ swap with "missing funds" error, on low local balance compared to max amount value (Issue #6039)

WAT notifications at github.com
Fri Feb 11 15:13:46 CET 2022


<!--
   SUPPORT REQUESTS: This is for reporting bugs in the Bisq app.
   If you have a support request, please join #support on Bisq's
   Matrix Space over at https://bisq.chat
-->

### Description

When taker tries to buy BSQ through swap, by taking an offer that accepts between 0.001BTC and 0.004BTC, Bisq will always check if the local balance is enough against the maximum amount in the range (0.004BTC) even when user tries to buy 0.001BTC-worth of BSQ.
A "trade timeout" dialogue will be shown, while `Missing funds in getSellersBtcInputsForBsqSwapTx` will be reported in the log.
This was reported by user on telegram+matrix, after collecting data and trying to solve myself, I finally forwarded to @jmacxx who found the issue on regtest.

#### Version

1.8.2

### Steps to reproduce

Find a BSQ swap offer with a range as BTC amount; have local BTC balance just enough for lower end of range, try to take offer for previous amount. Error will be shown.
Increase local balance to enough to buy higher end amount, at this point you can buy the lower end amount of the offer.

### Expected behaviour

Being able to buy the lower end of the range in BTC if local balance is enough for that, even if it's not enough for higher end of range.

### Actual behaviour

As explained in above.

### Screenshots

<!--Screenshots if gui related, drag and drop to add to the issue -->

#### Device or machine

<!-- device/machine used, operating system -->



#### Additional info

<!-- Additional information useful for debugging (e.g. logs) -->


-- 
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/6039
You are receiving this because you are subscribed to this thread.

Message ID: <bisq-network/bisq/issues/6039 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20220211/075e1559/attachment.htm>


More information about the bisq-github mailing list