1
0
Fork 0
forked from lthn/blockchain

fixed misprint in struct definition

This commit is contained in:
cryptozoidberg 2021-03-24 01:00:12 +03:00
parent f6ab75f530
commit 18ef9b12ec
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC
2 changed files with 3 additions and 3 deletions

View file

@ -1042,10 +1042,10 @@ namespace wallet_public
struct response
{
std::list<wallet_public::htlc_entry_info> m_htlcs;
std::list<wallet_public::htlc_entry_info> htlcs;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(m_htlcs)
KV_SERIALIZE(htlcs)
END_KV_SERIALIZE_MAP()
};
};

View file

@ -800,7 +800,7 @@ namespace tools
bool wallet_rpc_server::on_get_list_of_active_htlc(const wallet_public::COMMAND_GET_LIST_OF_ACTIVE_HTLC::request& req, wallet_public::COMMAND_GET_LIST_OF_ACTIVE_HTLC::response& res, epee::json_rpc::error& er, connection_context& cntx)
{
WALLET_RPC_BEGIN_TRY_ENTRY();
m_wallet.get_list_of_active_htlc(res.m_htlcs, req.income_redeem_only);
m_wallet.get_list_of_active_htlc(res.htlcs, req.income_redeem_only);
WALLET_RPC_CATCH_TRY_ENTRY();
return true;
}