From a5f1994f8634ad51dd0980a64eaa6d2279a2433f Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Wed, 6 Jan 2016 13:10:57 +1100 Subject: [PATCH] tests/integration: remove redundant check --- test/integration/_blockchain.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/test/integration/_blockchain.js b/test/integration/_blockchain.js index 7af0ec3..f6bfb9f 100644 --- a/test/integration/_blockchain.js +++ b/test/integration/_blockchain.js @@ -28,16 +28,7 @@ testnet.faucet = function faucet (address, amount, done) { }).pop() 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)