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

@@ -21,6 +21,14 @@ namespace msg::usrmsg
busrmsg::create_status_response(msg);
}
void usrmsg_parser::create_lcl_response(std::vector<uint8_t> &msg) const
{
if (protocol == util::PROTOCOL::JSON)
jusrmsg::create_lcl_response(msg);
else
busrmsg::create_lcl_response(msg);
}
void usrmsg_parser::create_contract_input_status(std::vector<uint8_t> &msg, std::string_view status, std::string_view reason,
std::string_view input_hash, const uint64_t ledger_seq_no, const util::h32 &ledger_hash) const
{