Skip to content

personal.lockAccount update require #68

@aion-chris

Description

@aion-chris

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions