Less noise unless -debug is used

This commit is contained in:
Duke
2025-09-24 09:30:33 -04:00
parent e421dfc6a5
commit cb81fc3b95
4 changed files with 14 additions and 7 deletions

View File

@@ -776,7 +776,6 @@ void AsyncRPCOperation_sendmany::lock_notes() {
LogPrintf("%s: found %lu notes to lock\n", __func__, saplingNoteInputs_.size() );
for (auto note : saplingNoteInputs_) {
if(pwalletMain->IsLockedNote(std::get<0>(note))) {
//TODO: deal with this
LogPrintf("%s: note already locked!\n", __func__);
} else {
pwalletMain->LockNote(std::get<0>(note));
@@ -790,7 +789,6 @@ void AsyncRPCOperation_sendmany::unlock_notes() {
LogPrintf("%s: found %lu notes to unlock\n", __func__, saplingNoteInputs_.size() );
for (auto note : saplingNoteInputs_) {
if(pwalletMain->IsLockedNote(std::get<0>(note))) {
//TODO: deal with this
pwalletMain->UnlockNote(std::get<0>(note));
} else {
LogPrintf("%s: note already unlocked!\n", __func__);