rpc, wallet2: don't request unportable data
This commit is contained in:
parent
4de0c2b1fc
commit
267dc5a08b
|
@ -3171,7 +3171,7 @@ namespace cryptonote
|
|||
return false;
|
||||
}
|
||||
|
||||
res.distributions.push_back({std::move(*data), amount, "", req.binary, req.compress});
|
||||
res.distributions.push_back({std::move(*data), amount, req.binary, true});
|
||||
}
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
|
@ -3218,7 +3218,7 @@ namespace cryptonote
|
|||
return true;
|
||||
}
|
||||
|
||||
res.distributions.push_back({std::move(*data), amount, "", req.binary, req.compress});
|
||||
res.distributions.push_back({std::move(*data), amount, req.binary, true});
|
||||
}
|
||||
}
|
||||
catch (const std::exception &e)
|
||||
|
|
|
@ -8280,6 +8280,7 @@ void wallet2::get_outs(std::vector<std::vector<tools::wallet2::get_outs_entry>>
|
|||
req_t.to_height = segregation_fork_height + 1;
|
||||
req_t.cumulative = true;
|
||||
req_t.binary = true;
|
||||
req_t.compress = true;
|
||||
|
||||
{
|
||||
const boost::lock_guard<boost::recursive_mutex> lock{m_daemon_rpc_mutex};
|
||||
|
|
Loading…
Reference in New Issue