remove test for getWork()

This was removed in bitcoind v0.10.0
This commit is contained in:
Sean Lavine 2015-03-24 18:16:43 -07:00
parent b2900f01b9
commit bb8d05e556
2 changed files with 0 additions and 12 deletions

View File

@ -45,7 +45,6 @@ module.exports = {
getTxOutSetInfo: 'gettxoutsetinfo', // bitcoind v0.7.0+
getUnconfirmedBalance: 'getunconfirmedbalance', // bitcoind v0.9.0+
getWalletInfo: 'getwalletinfo', // bitcoind v0.9.2+
getWork: 'getwork',
help: 'help',
importAddress: 'importaddress', // bitcoind v0.10.0+
importPrivKey: 'importprivkey',

View File

@ -133,17 +133,6 @@ describe('Client', function() {
});
});
describe('getWork()', function() {
it('should get work', function(done) {
var client = makeClient();
client.getWork(function(err, work) {
assert.ifError(err);
notEmpty(work);
done();
});
});
});
it('bitcoin related error should be an Error object', function(done) {
var client = makeClient();
client.cmd('nomethod', function(err, expectedValue) {