<p>The asset listing fee tx does not use a BTC input in case the BSQ fee is >= miner fee.</p>
<p>A valid tx can look like (tested):<br>
Input 0: 222216.00 BSQ (22221600 Sat)<br>
Output 0: 122217.00 BSQ (12221700 Sat)<br>
Output 1: 0,09961716 BTC (9961716 Sat)<br>
Miner fee: 0,00038184 (38184 Sat)</p>
<p>We should test if in case the input is exact the amount of the required miner fee we cannot create the tx as a tx without outputs is not valid. We need to have at least 1 output with 546 sat. This output can be either BSQ or BTC.</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/2659">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZthEdpVH-VunEvRAA1o891O4PmKTRks5veAV2gaJpZM4cf9wJ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtikpcny3dXT5WiJNNwQdnRN7YiCqks5veAV2gaJpZM4cf9wJ.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bisq","title":"bisq-network/bisq","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bisq"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Test asset fee tx (#2659)"}],"action":{"name":"View Issue","url":"https://github.com/bisq-network/bisq/issues/2659"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/2659",
"url": "https://github.com/bisq-network/bisq/issues/2659",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>