fix bufferput: Put() -> new Put()

This commit is contained in:
Ryan X. Charles 2013-12-09 22:43:26 -05:00
parent 709b2903c1
commit c966d713d7
1 changed files with 1 additions and 1 deletions

View File

@ -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