Skip to content

Commit c3c9870

Browse files
Wesley SmithWesley Smith
authored andcommitted
fixes adding version field to transaction instance
1 parent 09c5ff1 commit c3c9870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transaction_builder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ function TransactionBuilder (network, maximumFeeRate) {
476476

477477
this.__inputs = []
478478
this.__tx = new Transaction()
479-
this.tx.version = 2
479+
this.__tx.version = 2
480480
}
481481

482482
TransactionBuilder.prototype.setLockTime = function (locktime) {

0 commit comments

Comments
 (0)