change TransactionBuilder to default to version 2
This commit is contained in:
parent
93b815c20e
commit
3bfdacafa2
1 changed files with 1 additions and 0 deletions
|
@ -476,6 +476,7 @@ function TransactionBuilder (network, maximumFeeRate) {
|
|||
|
||||
this.inputs = []
|
||||
this.tx = new Transaction()
|
||||
this.tx.version = 2
|
||||
}
|
||||
|
||||
TransactionBuilder.prototype.setLockTime = function (locktime) {
|
||||
|
|
Loading…
Add table
Reference in a new issue