Browse Source

LL-448 parse segwit for all bitcoinlike

gre-patch-1
amougel 6 years ago
parent
commit
2f4299b4cc
No known key found for this signature in database GPG Key ID: 9F1564D8A6CA62A9
  1. 2
      src/commands/libcoreSignAndBroadcast.js

2
src/commands/libcoreSignAndBroadcast.js

@ -126,7 +126,7 @@ async function signTransaction({
const hexPreviousTransaction = Buffer.from(rawPreviousTransaction).toString('hex') const hexPreviousTransaction = Buffer.from(rawPreviousTransaction).toString('hex')
const previousTransaction = hwApp.splitTransaction( const previousTransaction = hwApp.splitTransaction(
hexPreviousTransaction, 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, hasTimestamp,
hasExtraData, hasExtraData,
) )

Loading…
Cancel
Save