[bisq-network/bisq] Add segwit support to the BTC wallet (#4568)

Oscar Guindzberg notifications at github.com
Mon Oct 5 21:18:26 UTC 2020


@oscarguindzberg commented on this pull request.



> @@ -601,6 +603,9 @@ public Transaction takerSignsDepositTx(boolean takerIsSeller,
             for (int i = 0; i < buyerInputs.size(); i++) {
                 TransactionInput transactionInput = makersDepositTx.getInputs().get(i);
                 depositTx.addInput(getTransactionInput(depositTx, getMakersScriptSigProgram(transactionInput), buyerInputs.get(i)));
+                if (!TransactionWitness.EMPTY.equals(transactionInput.getWitness())) {
+                    depositTx.getInput(depositTx.getInputs().size()-1).setWitness(transactionInput.getWitness());

You seem to be right. In any case, it causes no harm.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4568#discussion_r499877860
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201005/7d272820/attachment-0001.html>


More information about the bisq-github mailing list