Browse Source

Merge pull request #39 from ryanxcharles/bug/fix-bufferput-2

fix bufferput: Put() -> new Put()
patch-2
Stephen Pair 11 years ago
parent
commit
80f92dbd8f
  1. 2
      Transaction.js

2
Transaction.js

@ -456,7 +456,7 @@ function spec(b) {
var hashTypeMode = hashType & 0x1f; var hashTypeMode = hashType & 0x1f;
// Generate modified transaction data for hash // Generate modified transaction data for hash
var bytes = Put(); var bytes = (new Put());
bytes.word32le(this.version); bytes.word32le(this.version);
// Serialize inputs // Serialize inputs

Loading…
Cancel
Save