mirror of
https://github.com/monero-project/monero.git
synced 2025-06-12 20:02:51 -04:00
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.
This commit is contained in:
parent
12146daeed
commit
0be6e08dd0
5 changed files with 11 additions and 8 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue