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
parent
commit
77e317d618
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/transaction_builder.js

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

Loading…
Cancel
Save