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

<hr>

<p>In <a href="https://github.com/bisq-network/bisq/pull/3413#discussion_r336782992">core/src/main/java/bisq/core/dao/node/parser/TxOutputParser.java</a>:</p>
<pre style='color:#555'>> +        if (availableInputValue <= 0) {
+            return false;
+        }
+
+        // Burned BSQ output is last output before opReturn.
+        // We could have also a BSQ change output as last output before opReturn but that will
+        // be detected at blindVoteFee check.
+        // We always have the BSQ change before the burned BSQ output if both are present.
+        checkArgument(optionalOpReturnIndex.isPresent());
+        if (tempTxOutput.getIndex() != optionalOpReturnIndex.get() - 1) {
+            return false;
+        }
+
+        // Without checking the fee we would not be able to distinguish between 2 structurally same transactions, one
+        // where the output is burned BSQ and one where it is a BSQ change output.
+        long blindVoteFee = daoStateService.getParamValueAsCoin(Param.BLIND_VOTE_FEE, tempTxOutput.getBlockHeight()).value;
</pre>
<p>There can be an optional BSQ change output.</p>
<p>Inputs [1-n]: BSQ inputs for BSQ fee + stake<br>
Inputs [0-n]: BTC inputs for miner fee<br>
Output [1]: Mandatory BSQ output of stake<br>
Output [0-1] Optional BSQ change output<br>
Outputs [0-1]: BTC change output OR optional burned BSQ as BTC output<br>
Outputs [0-1]: Output [1]: OP_RETURN with OpReturnData and amount 0<br>
Mining fee: BTC mining fee + burned BSQ fee</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/3413?email_source=notifications&email_token=AJFFTNQUBZO7YCHPJXH7SD3QPRYW3A5CNFSM4JBAOB5KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCIRLBNY#discussion_r336782992">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNTDWRTCPAABAF4W2GDQPRYW3ANCNFSM4JBAOB5A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNWSA5IUZ5GXF2ULJRTQPRYW3A5CNFSM4JBAOB5KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCIRLBNY.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/3413?email_source=notifications\u0026email_token=AJFFTNQUBZO7YCHPJXH7SD3QPRYW3A5CNFSM4JBAOB5KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCIRLBNY#discussion_r336782992",
"url": "https://github.com/bisq-network/bisq/pull/3413?email_source=notifications\u0026email_token=AJFFTNQUBZO7YCHPJXH7SD3QPRYW3A5CNFSM4JBAOB5KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCIRLBNY#discussion_r336782992",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>