Skip to content

listsidechainctip is broken from drivenet-cli #11

@abrkn

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());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions