diff --git a/src/transaction_builder.js b/src/transaction_builder.js index d1e8587..ca59d88 100644 --- a/src/transaction_builder.js +++ b/src/transaction_builder.js @@ -476,6 +476,7 @@ function TransactionBuilder (network, maximumFeeRate) { this.inputs = [] this.tx = new Transaction() + this.tx.version = 2 } TransactionBuilder.prototype.setLockTime = function (locktime) {