Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #71 from amougel/hotfix/splitTransaction_with_time…
Browse files Browse the repository at this point in the history
…stamp

added missing offset shifting
  • Loading branch information
amougel authored Feb 9, 2018
2 parents 4bbb629 + 8f9e9be commit b725b27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/hw-app-btc/src/Btc.js
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,7 @@ const tx1 = btc.splitTransaction("01000000014ea60aeac5252c14291d428915bd7ccd1bfc
}
if (hasTimestamp) {
timestamp = transaction.slice(offset, 4 + offset);
offset += 4;
}
let varint = this.getVarint(transaction, offset);
const numberInputs = varint[0];
Expand Down

0 comments on commit b725b27

Please sign in to comment.