Browse Source

tests/integration: remove redundant check

hk-custom-address
Daniel Cousens 9 years ago
parent
commit
a5f1994f86
  1. 9
      test/integration/_blockchain.js

9
test/integration/_blockchain.js

@ -28,18 +28,9 @@ testnet.faucet = function faucet (address, amount, done) {
}).pop() }).pop()
if (!unspent) return callback(new Error('No unspent given')) if (!unspent) return callback(new Error('No unspent given'))
testnet.transactions.get(unspent.txId, function (err, tx) {
if (err) return callback(err)
testnet.transactions.propagate(tx.txHex, function (err) {
if (err) return callback(err)
callback(null, unspent) callback(null, unspent)
}) })
}) })
})
})
}, done) }, done)
} }

Loading…
Cancel
Save