Merge pull request #1059 from wesleyfsmith/version_fix
fixes adding version field to transaction instance
This commit is contained in:
commit
77e317d618
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ function TransactionBuilder (network, maximumFeeRate) {
|
|||
|
||||
this.__inputs = []
|
||||
this.__tx = new Transaction()
|
||||
this.tx.version = 2
|
||||
this.__tx.version = 2
|
||||
}
|
||||
|
||||
TransactionBuilder.prototype.setLockTime = function (locktime) {
|
||||
|
|
Loading…
Reference in a new issue