fix bufferput: Put() -> new Put()
This commit is contained in:
parent
709b2903c1
commit
c966d713d7
|
@ -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…
Reference in New Issue