diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index 942bfce0a2..a0d6f60f1d 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -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) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 5a4cafc328..cdca120f7a 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -8280,6 +8280,7 @@ void wallet2::get_outs(std::vector> req_t.to_height = segregation_fork_height + 1; req_t.cumulative = true; req_t.binary = true; + req_t.compress = true; { const boost::lock_guard lock{m_daemon_rpc_mutex};