diff --git a/test/services/bitcoind.unit.js b/test/services/bitcoind.unit.js index 29a29a23..8719f7f5 100644 --- a/test/services/bitcoind.unit.js +++ b/test/services/bitcoind.unit.js @@ -3865,23 +3865,6 @@ describe('Bitcoin Service', function() { done(); }); }); - it('will not get block hash with an address', function(done) { - var bitcoind = new BitcoinService(baseConfig); - var getBlockHash = sinon.stub(); - bitcoind.nodes.push({ - client: { - getBlockHash: getBlockHash - } - }); - bitcoind._maybeGetBlockHash('2N2JD6wb56AfK4tfmM6PwdVmoYk2dCKf4Br', function(err, hash) { - if (err) { - return done(err); - } - getBlockHash.callCount.should.equal(0); - hash.should.equal('2N2JD6wb56AfK4tfmM6PwdVmoYk2dCKf4Br'); - done(); - }); - }); it('will get the block hash if argument is a number', function(done) { var bitcoind = new BitcoinService(baseConfig); var getBlockHash = sinon.stub().callsArgWith(1, null, {