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

fix bufferput: Put() -> new Put()
This commit is contained in:
Stephen Pair 2013-12-10 06:34:22 -08:00
commit 80f92dbd8f
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