diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-03-26 23:22:57 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-03-26 23:29:29 +0000 |
commit | 0be6e08dd0faf5f7e3492652f00b8904e7e8216d (patch) | |
tree | 43fc8ecc3bcd436548faf0342a3db5d95dc3f3d3 /src/wallet/wallet_rpc_server.cpp | |
parent | wallet: change sweep_dust to sweep_unmixable (diff) | |
download | monero-0be6e08dd0faf5f7e3492652f00b8904e7e8216d.tar.xz |
wallet: do not leak owned amounts to the daemon unless --trusted-daemon
This will be slower, though more private.
New trusted_daemon parameter to the matching RPC call, false by default.
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 83e1f7535..d7d99c2ae 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -347,7 +347,7 @@ namespace tools try { - std::vector<wallet2::pending_tx> ptx_vector = m_wallet.create_unmixable_sweep_transactions(); + std::vector<wallet2::pending_tx> ptx_vector = m_wallet.create_unmixable_sweep_transactions(req.trusted_daemon); m_wallet.commit_tx(ptx_vector); |