forked from lthn/blockchain
fixed misprint in struct definition
This commit is contained in:
parent
f6ab75f530
commit
18ef9b12ec
2 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue