Skip to content

Missing return statement in clientrpc error handling #3818

Description

@ann0see

CRpcServer::CreateJsonRpcError ( CRpcServer::iErrInvalidParams, "Invalid params: directory is not a valid socket address" );

seems to be missing a return statement. So we set result == ok which is not correct in case of errors.
Found by local AI review

Metadata

Metadata

Assignees

No one assigned

    Labels

    AIAI generated or potentially AI generatedJSON-RPCRelated to the JSON-RPC APIbugSomething isn't working

    Type

    No type

    Projects

    Status
    In Progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions