From 2f4299b4cca682da945ea77cad42955367f6d93d Mon Sep 17 00:00:00 2001 From: amougel Date: Wed, 14 Nov 2018 15:42:03 +0100 Subject: [PATCH] LL-448 parse segwit for all bitcoinlike --- src/commands/libcoreSignAndBroadcast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/libcoreSignAndBroadcast.js b/src/commands/libcoreSignAndBroadcast.js index 79cdaed5..6e0ee240 100644 --- a/src/commands/libcoreSignAndBroadcast.js +++ b/src/commands/libcoreSignAndBroadcast.js @@ -126,7 +126,7 @@ async function signTransaction({ const hexPreviousTransaction = Buffer.from(rawPreviousTransaction).toString('hex') const previousTransaction = hwApp.splitTransaction( hexPreviousTransaction, - currency.supportsSegwit, + true, // Setting the flag to false only prevent the parsing of segwit txs. The flag on true allow both segwit and non-segwit hasTimestamp, hasExtraData, )