Skip to content

server crash on heartbeat due to missing message type #78

@nkvinnesland

Description

@nkvinnesland

when client sends a heartbeat message the server logs:

server.c:319:client_thread(): ERROR: unknown message type: 7 and freezes my mining!

fix:

add following case to the switch in client_thread():

case COIN_MSG__ENVELOPE__BODY_HEARTBEAT:
    pb_handle_heartbeat(fd, envelope->heartbeat, this_user);
    break;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions