Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

personal.lockAccount update require #68

Open
aion-chris opened this issue Jan 9, 2019 · 0 comments
Open

personal.lockAccount update require #68

aion-chris opened this issue Jan 9, 2019 · 0 comments

Comments

@aion-chris
Copy link

Bug Report Template

Please include the following information when reporting an issue you are facing while using the Aion Web3 API.

Web3 version: 1.1.5

You can find this by executing:

npm view aion-web3-v1.0 version

Command(s) triggering the issue: personal.lockAccount

What are the commands you're trying to send the API? This can be the JavaScript code you're running, or just the single command that seems like it's bugging. If possible, please include the parameters of the request as well.

API output:
What does the API say in response? If the API errors out, please provide as much of the error message as possible.
Error: Returned error: Internal error

For unlockAccount api call, rpc server is looking for 2 parameters including address and password
https://github.com/aionnetwork/aion/blob/master/modApiServer/src/org/aion/api/server/rpc/ApiWeb3Aion.java#L1297
where at aion_web3 v1.1.5 it only wrap address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant