Merge pull request #1059 from wesleyfsmith/version_fix

fixes adding version field to transaction instance
This commit is contained in:
Daniel Cousens 2018-05-07 15:58:55 +10:00 committed by GitHub
commit 77e317d618
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {