Added user message to get lcl. (#318)

This commit is contained in:
Ravin Perera
2021-06-04 16:16:22 +05:30
committed by GitHub
parent 33bd63ac64
commit a7b7f6c9de
9 changed files with 137 additions and 8 deletions

View File

@@ -239,6 +239,13 @@ namespace usr
user.session.send(resp);
return 0;
}
else if (msg_type == msg::usrmsg::MSGTYPE_LCL)
{
std::vector<uint8_t> resp;
parser.create_lcl_response(resp);
user.session.send(resp);
return 0;
}
else if (msg_type == msg::usrmsg::MSGTYPE_LEDGER_QUERY)
{
ledger::query::query_request req;