Try harder to avoid selecting locked notes to spend

This commit is contained in:
Duke
2025-08-11 09:36:45 -04:00
parent 2a6ea137ae
commit bd52fc5ee6
2 changed files with 23 additions and 7 deletions

View File

@@ -4942,8 +4942,8 @@ void CWallet::GetFilteredNotes(
}
// skip locked notes
// TODO: Add locking for Sapling notes -> done
if (ignoreLocked && IsLockedNote(op)) {
LogPrintf("%s: skipping locked note %s\n", __func__, op.hash.ToString().substr(0,10).c_str());
continue;
}