Skip to content

error in public message routing key #55

@profforg

Description

@profforg

Hi!
It looks like there is an error in stream key for public messages in Peatio::Ranger::Router.on_message in send_public_message(stream, message)

type, id, event = routing_key.split(".")
stream = [id, event].join(".")
send_public_message(stream, message)

I think there should be id, not stream

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