change TransactionBuilder to default to version 2
This commit is contained in:
parent
93b815c20e
commit
3bfdacafa2
@ -476,6 +476,7 @@ function TransactionBuilder (network, maximumFeeRate) {
|
|||||||
|
|
||||||
this.inputs = []
|
this.inputs = []
|
||||||
this.tx = new Transaction()
|
this.tx = new Transaction()
|
||||||
|
this.tx.version = 2
|
||||||
}
|
}
|
||||||
|
|
||||||
TransactionBuilder.prototype.setLockTime = function (locktime) {
|
TransactionBuilder.prototype.setLockTime = function (locktime) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user