<p></p>
<p><b>@jmacxx</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/bisq-network/bisq/pull/4094#discussion_r400240177">core/src/main/java/bisq/core/btc/wallet/TradeWalletService.java</a>:</p>
<pre style='color:#555'>> @@ -257,6 +260,7 @@ public Transaction completeBsqTradingFeeTx(Transaction preparedBsqTx,
         checkNotNull(wallet, "Wallet must not be null");
         wallet.completeTx(sendRequest);
         Transaction resultTx = sendRequest.tx;
+        removeDust(resultTx);
</pre>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/sqrrm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sqrrm">@sqrrm</a> From what I've seen there is existing code which checks the BSQ for dust before building the transaction (see <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="528326726" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/3688" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/3688/hovercard" href="https://github.com/bisq-network/bisq/issues/3688">#3688</a>).  The <code>removeDust</code> insertion here looks at the transaction after it is built, just before broadcasting, to remove any dust change BTC.  I will look more into how it works though.</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/pull/4094#discussion_r400240177">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNSQUHA5Q6DICBB4ZBLRKCUVTANCNFSM4LS2HZMQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNQSFH2JAA5H2PIILGLRKCUVTA5CNFSM4LS2HZM2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOC3RBWKA.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/pull/4094#discussion_r400240177",
"url": "https://github.com/bisq-network/bisq/pull/4094#discussion_r400240177",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>