diff --git a/src/transaction_builder.js b/src/transaction_builder.js index 51bc396..4574831 100644 --- a/src/transaction_builder.js +++ b/src/transaction_builder.js @@ -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) {