mirror of
https://github.com/monero-project/monero.git
synced 2026-08-02 08:58:06 -07: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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user