fixes adding version field to transaction instance

This commit is contained in:
Wesley Smith 2018-05-06 22:40:27 -07:00
parent 09c5ff1d6b
commit c3c98709e2

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