Skip to content

listsidechainctip is broken from drivenet-cli #11

Description

@abrkn
ubuntu@ip-172-31-43-201:~$ drivenet-cli listsidechainctip 0
error code: -1
error message:
JSON value is not an integer as expected

Maybe

uint8_t nSidechain = (unsigned int)request.params[0].get_int();

should be

uint8_t nSidechain = std::stoi(request.params[0].getValStr());

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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