add_command instead of add_request_command

pull/1602/head
Jeff Becker 3 years ago
parent 466be39fb3
commit 7f93b95080
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -39,7 +39,7 @@ namespace llarp
// new block handler
m_lokiMQ->add_category("notify", oxenmq::Access{oxenmq::AuthLevel::none})
.add_request_command("block", [this](oxenmq::Message& m) { HandleNewBlock(m); });
.add_command("block", [this](oxenmq::Message& m) { HandleNewBlock(m); });
// TODO: proper auth here
auto lokidCategory = m_lokiMQ->add_category("lokid", oxenmq::Access{oxenmq::AuthLevel::none});

Loading…
Cancel
Save