Merge pull request #39 from ryanxcharles/bug/fix-bufferput-2
fix bufferput: Put() -> new Put()
This commit is contained in:
commit
80f92dbd8f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue