change TransactionBuilder to default to version 2

This commit is contained in:
Daniel Cousens 2018-04-14 01:18:31 +10:00
parent 93b815c20e
commit 3bfdacafa2

View file

@ -476,6 +476,7 @@ function TransactionBuilder (network, maximumFeeRate) {
this.inputs = []
this.tx = new Transaction()
this.tx.version = 2
}
TransactionBuilder.prototype.setLockTime = function (locktime) {