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

<p>NACK. I think it is wrong. We always have 2 inputs to the deposit tx. If you have a clear case where that is not the case, please post all the trade transactions and describe how you could reproduce it. Thanks.</p><hr>

<p>In <a href="https://github.com/bisq-network/bisq/pull/5618#discussion_r667784358">core/src/main/java/bisq/core/trade/TradeDataValidation.java</a>:</p>
<pre style='color:#555'>> @@ -356,23 +356,46 @@ public static void validatePayoutTxInput(Transaction depositTx,
     }
 
     public static void validateDepositInputs(Trade trade) throws InvalidTxException {
-        // assumption: deposit tx always has 2 inputs, the maker and taker
-        if (trade == null || trade.getDepositTx() == null || trade.getDepositTx().getInputs().size() != 2) {
-            throw new InvalidTxException("Deposit transaction is null or has unexpected input count");
+        /*
+         * deposit tx usually has 2 inputs, the maker and taker
</pre>
<p>Can you provide more detail when that would be expected? I do not see any case where that can happen.<br>
Funding goes to the fee txs, the deposit tx always has the 1 output from the fee tx. The deposit can have 2 outputs in case the trade amount is < offer amount, as one output would be change to the seller/maker then.</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/5618#pullrequestreview-703892380">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNW27GZ2YPVBQ2I5ATTTXK2Y5ANCNFSM5AFQVXQQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNVVZWEE2EYT6AOHWTDTXK2Y5A5CNFSM5AFQVXQ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOFH2IXHA.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/5618#pullrequestreview-703892380",
"url": "https://github.com/bisq-network/bisq/pull/5618#pullrequestreview-703892380",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>