diff --git a/Transaction.js b/Transaction.js index 92c90db..7750941 100644 --- a/Transaction.js +++ b/Transaction.js @@ -456,7 +456,7 @@ function spec(b) { var hashTypeMode = hashType & 0x1f; // Generate modified transaction data for hash - var bytes = Put(); + var bytes = (new Put()); bytes.word32le(this.version); // Serialize inputs