Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Remove duplicates.
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoulter committed Aug 21, 2017
1 parent 0125c81 commit 2f657af
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
8 changes: 0 additions & 8 deletions lib/subproviders/geth_api_double.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,6 @@ GethApiDouble.prototype.eth_protocolVersion = function(callback) {
callback(null, "63");
};

GethApiDouble.prototype.personal_listAccounts = function(callback) {
callback(null, Object.keys(this.state.accounts));
};

GethApiDouble.prototype.bzz_hive = function(callback) {
callback(null, []);
};
Expand All @@ -324,10 +320,6 @@ GethApiDouble.prototype.eth_syncing = function(callback) {
callback(null, false);
};

GethApiDouble.prototype.eth_protocolVersion = function(callback) {
callback(null, "-1");
};

GethApiDouble.prototype.net_listening = function(callback) {
callback(null, true);
};
Expand Down
12 changes: 0 additions & 12 deletions test/accounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,6 @@ describe("Accounts", function() {
});
});

it("should be equal (getListAccounts) and (getAccounts)", function(done) {
var web3 = new Web3();
web3.setProvider(TestRPC.provider());
web3.personal.getListAccounts(function(err, listAccounts) {
if (err) return done(err);
web3.eth.getAccounts(function(err, getAccounts){
assert.deepEqual(listAccounts, getAccounts);
done();
})
});
});

it("should lock all accounts when specified", function(done) {
var web3 = new Web3();
web3.setProvider(TestRPC.provider({
Expand Down

0 comments on commit 2f657af

Please sign in to comment.