messy commits, clean later, just one test left
This commit is contained in:
parent
a213435135
commit
f8a94f3496
2 changed files with 80 additions and 112 deletions
|
@ -92,7 +92,6 @@ describe('TransactionBuilder', function () {
|
|||
|
||||
var tx = Transaction.fromHex(f.txHex)
|
||||
var txb = TransactionBuilder.fromTransaction(tx, network)
|
||||
|
||||
assert.strictEqual(txb.build().toHex(), f.txHex)
|
||||
assert.strictEqual(txb.network, network)
|
||||
})
|
||||
|
@ -347,6 +346,7 @@ describe('TransactionBuilder', function () {
|
|||
it('does not throw if buildIncomplete', function () {
|
||||
var txb
|
||||
if (f.txHex) {
|
||||
console.log(f.txHex)
|
||||
txb = TransactionBuilder.fromTransaction(Transaction.fromHex(f.txHex))
|
||||
} else {
|
||||
txb = construct(f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue