Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Add support for api.subscribe('parity_accountsInfo') #4273

Merged
merged 2 commits into from
Jan 23, 2017

Conversation

jacogr
Copy link
Contributor

@jacogr jacogr commented Jan 23, 2017

@jacogr jacogr added A0-pleasereview 🤓 Pull request needs code review. M6-rpcapi 📣 RPC API. labels Jan 23, 2017
@@ -87,6 +94,10 @@ describe('api/subscriptions/personal', () => {
expect(personal.isStarted).to.be.true;
});

it('calls parity_accountsInfo', () => {
expect(api._calls.accountsInfo.length).to.be.ok;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even if it's the same result, might be more obvious if we checked that the length is greater than 0

@ngotchac ngotchac added A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 23, 2017
@gavofyork gavofyork merged commit ea44555 into master Jan 23, 2017
@gavofyork gavofyork deleted the jg-subscribe-accountsInfo branch January 23, 2017 18:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. M6-rpcapi 📣 RPC API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants