peatio-core icon indicating copy to clipboard operation
peatio-core copied to clipboard

error in public message routing key

Open profforg opened this issue 6 years ago • 0 comments

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

profforg avatar Dec 19 '19 20:12 profforg