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

<hr>

<p>In <a href="https://github.com/bisq-network/bisq/pull/4789#discussion_r523285465">core/src/main/java/bisq/core/trade/protocol/tasks/buyer_as_maker/BuyerAsMakerSendsInputsForDepositTxResponse.java</a>:</p>
<pre style='color:#555'>> @@ -32,6 +34,9 @@ public BuyerAsMakerSendsInputsForDepositTxResponse(TaskRunner<Trade> taskHandler
 
     @Override
     protected byte[] getPreparedDepositTx() {
-        return processModel.getPreparedDepositTx();
+        Transaction preparedDepositTx = processModel.getBtcWalletService().getTxFromSerializedTx(processModel.getPreparedDepositTx());
+        // Remove witnesses from preparedDepositTx, so that the seller can still compute the final
+        // tx id, but cannot publish it before providing the buyer with a signed delayed payout tx.
+        return preparedDepositTx.bitcoinSerialize(false);
</pre>
<p>the function of the flag is "tx serialzed using the new segwit format".<br>
bitcoinSerialize(false) seems fine if you want to avoid sending the signatures.</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/4789#discussion_r523285465">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNXI5YDMZJDSZJ3I7NTSPW7FJANCNFSM4TUJ4W5Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNV7LNQUYAXNEAVXK63SPW7FJA5CNFSM4TUJ4W52YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOD6PHVEY.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/4789#discussion_r523285465",
"url": "https://github.com/bisq-network/bisq/pull/4789#discussion_r523285465",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>