aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-03-26 23:22:57 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-03-26 23:29:29 +0000
commit0be6e08dd0faf5f7e3492652f00b8904e7e8216d (patch)
tree43fc8ecc3bcd436548faf0342a3db5d95dc3f3d3 /src/simplewallet
parentwallet: change sweep_dust to sweep_unmixable (diff)
downloadmonero-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/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index dd166ede5..04170df62 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -2221,7 +2221,7 @@ bool simple_wallet::sweep_unmixable(const std::vector<std::string> &args_)
try
{
// figure out what tx will be necessary
- auto ptx_vector = m_wallet->create_unmixable_sweep_transactions();
+ auto ptx_vector = m_wallet->create_unmixable_sweep_transactions(m_trusted_daemon);
if (ptx_vector.empty())
{