TxBuilder: pass network through fromTransaction, fixes failing tests
This commit is contained in:
parent
1e90e1620a
commit
a4eb58f103
2 changed files with 29 additions and 25 deletions
|
@ -95,7 +95,7 @@ function TransactionBuilder (network) {
|
|||
}
|
||||
|
||||
TransactionBuilder.fromTransaction = function (transaction, network) {
|
||||
var txb = new TransactionBuilder(/* remove after failing test added: network*/)
|
||||
var txb = new TransactionBuilder(network)
|
||||
|
||||
// Copy other transaction fields
|
||||
txb.tx.version = transaction.version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue