Browse Source

Update libcoreSignAndBroadcast.js

gre-patch-1
Gaëtan Renaudeau 6 years ago
committed by GitHub
parent
commit
726aaa30f5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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 previousTransaction = hwApp.splitTransaction(
hexPreviousTransaction,
true, // Setting the flag to false only prevent the parsing of segwit txs. The flag on true allow both segwit and non-segwit
true, // set to true allow both segwit AND non-segwit
hasTimestamp,
hasExtraData,
)

Loading…
Cancel
Save