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 generatedbugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions