Browse Source
Merge pull request #1059 from wesleyfsmith/version_fix
fixes adding version field to transaction instance
addLowRGrinding
Daniel Cousens
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/transaction_builder.js
|
@ -476,7 +476,7 @@ function TransactionBuilder (network, maximumFeeRate) { |
|
|
|
|
|
|
|
|
this.__inputs = [] |
|
|
this.__inputs = [] |
|
|
this.__tx = new Transaction() |
|
|
this.__tx = new Transaction() |
|
|
this.tx.version = 2 |
|
|
this.__tx.version = 2 |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
TransactionBuilder.prototype.setLockTime = function (locktime) { |
|
|
TransactionBuilder.prototype.setLockTime = function (locktime) { |
|
|