remove password from logging

This commit is contained in:
woodser 2023-08-18 11:45:53 -04:00
parent 58d8fdafe5
commit 9b873cf149
2 changed files with 2 additions and 1 deletions

View file

@ -357,7 +357,7 @@ public final class CoreMoneroConnectionsService {
@Override @Override
public void onPasswordChanged(String oldPassword, String newPassword) { public void onPasswordChanged(String oldPassword, String newPassword) {
log.info(getClass() + ".onPasswordChanged({}, {}) called", oldPassword, newPassword); log.info(getClass() + ".onPasswordChanged({}, {}) called", oldPassword == null ? null : "***", newPassword == null ? null : "***");
connectionList.changePassword(oldPassword, newPassword); connectionList.changePassword(oldPassword, newPassword);
} }
}); });

View file

@ -904,6 +904,7 @@ public class XmrWalletService {
// excute tasks in parallel // excute tasks in parallel
HavenoUtils.executeTasks(tasks, Math.min(10, 1 + trades.size())); HavenoUtils.executeTasks(tasks, Math.min(10, 1 + trades.size()));
log.info("Done changing all wallet passwords");
} }
private void closeMainWallet(boolean save) { private void closeMainWallet(boolean save) {