From bb8d05e556e83392cc22b3e1255f10f22e490ad5 Mon Sep 17 00:00:00 2001 From: Sean Lavine Date: Tue, 24 Mar 2015 18:16:43 -0700 Subject: [PATCH] remove test for `getWork()` This was removed in bitcoind v0.10.0 --- lib/commands.js | 1 - test/index.js | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/lib/commands.js b/lib/commands.js index 8c72792..da880bd 100644 --- a/lib/commands.js +++ b/lib/commands.js @@ -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', diff --git a/test/index.js b/test/index.js index 8070694..223e6ab 100644 --- a/test/index.js +++ b/test/index.js @@ -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) {