Skip to content

Commit a5f1994

Browse files
committed
tests/integration: remove redundant check
1 parent f9f41ad commit a5f1994

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

test/integration/_blockchain.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,7 @@ testnet.faucet = function faucet (address, amount, done) {
2828
}).pop()
2929

3030
if (!unspent) return callback(new Error('No unspent given'))
31-
32-
testnet.transactions.get(unspent.txId, function (err, tx) {
33-
if (err) return callback(err)
34-
35-
testnet.transactions.propagate(tx.txHex, function (err) {
36-
if (err) return callback(err)
37-
38-
callback(null, unspent)
39-
})
40-
})
31+
callback(null, unspent)
4132
})
4233
})
4334
}, done)

0 commit comments

Comments
 (0)