<p></p>
<p>I've came across this issue once again (with new wallet) and it seems that issue is exactly with how Bisq selects addresses for offers.</p>
<p>Steps to reproduce:</p>
<ol>
<li>Pick an address (I've picked Segwit one starting with bc1..... ) from offered by Bisq to fund them</li>
<li>Send BTC there from external wallet.</li>
<li>Wait until transaction is spotted by Bisq.</li>
<li>Without waiting for 1st confirmation try to accept someones offer.</li>
</ol>
<p>Expected behavior:</p>
<ul>
<li>New or unused address is used for offer. Then I fund it and offer is accepted.</li>
</ul>
<p>Actual behavior:</p>
<ul>
<li>Existing address, which awaits confirmation was picked, showing me that offer is already funded (with excess amount, for example I've transferred 0.2 BTC offer was for 0.12 BTC with all fees). After cancelling at a funding stage - balance is not recognized by Bisq anymore, i.e. I cannot accept other offer (Insufficient funds message from Bisq), while my balance displayed correctly.</li>
</ul>
<p>This is definitely issue with function getOrGenerateAddress()</p>
<p>Currently I'm working it around by reusing already used addresses. In such case address will not be picked by Bisq to handle offer.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/5661#issuecomment-922362643">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNW64MJL263P7RVD2NTUCTTHPANCNFSM5CBYLZKA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AJFFTNS5YTEYRSU4MEICIHTUCTTHPA5CNFSM5CBYLZKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG35CGEY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/5661#issuecomment-922362643",
"url": "https://github.com/bisq-network/bisq/issues/5661#issuecomment-922362643",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>