[bisq-network/bisq] Implement Segwit for BSQ (#5000)

Steven Barclay notifications at github.com
Mon Jan 18 13:15:28 CET 2021


@stejbac commented on this pull request.



>                      if (pubKeyAsHex == null) {
                         log.debug("pubKeyAsHex is not set as we received a not supported sigScript. " +
                                         "txId={}, asm={}, txInWitness={}",
                                 rawDtoTx.getTxId(), rawInput.getScriptSig().getAsm(), rawInput.getTxInWitness());
                     }
-                    return new TxInput(rawInput.getTxId(), rawInput.getVOut(), pubKeyAsHex);
+                    var txInput = new TxInput(rawInput.getTxId(), rawInput.getVOut(), pubKeyAsHex);
+                    txInput.isSegwit = rawInput.getTxInWitness() != null;

(No longer applicable)

-- 
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/5000#discussion_r559525183
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210118/78ff53f3/attachment.htm>


More information about the bisq-github mailing list