messy commits, clean later, just one test left

This commit is contained in:
Thomas Kerin 2017-01-03 17:41:34 +01:00 committed by Daniel Cousens
parent a213435135
commit f8a94f3496
2 changed files with 80 additions and 112 deletions

View file

@ -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)