remove test for getWork()
This was removed in bitcoind v0.10.0
This commit is contained in:
parent
b2900f01b9
commit
bb8d05e556
@ -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',
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user