Skip to content

Commit

Permalink
parameters amount fixed in NewAccountMethod and NewAccountMethodTest …
Browse files Browse the repository at this point in the history
…updated
  • Loading branch information
Samuel Furter committed Feb 4, 2019
1 parent 7ff0082 commit 29e25a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class NewAccountMethod extends AbstractCallMethod {
* @constructor
*/
constructor(utils, formatters) {
super('personal_newAccount', 0, utils, formatters);
super('personal_newAccount', 1, utils, formatters);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('NewAccountMethodTest', () => {

expect(method.rpcMethod).toEqual('personal_newAccount');

expect(method.parametersAmount).toEqual(0);
expect(method.parametersAmount).toEqual(1);

expect(method.utils).toEqual(Utils);

Expand Down

0 comments on commit 29e25a2

Please sign in to comment.