Debug logs when locking/unlocking a note

This commit is contained in:
Duke
2025-05-29 18:43:30 -04:00
parent cb1b3df553
commit d7fe1d43ca

View File

@@ -4587,12 +4587,14 @@ void CWallet::LockNote(const SaplingOutPoint& output)
{ {
AssertLockHeld(cs_wallet); AssertLockHeld(cs_wallet);
setLockedSaplingNotes.insert(output); setLockedSaplingNotes.insert(output);
fprintf(stderr,"%s: locking note\n", __func__);
} }
void CWallet::UnlockNote(const SaplingOutPoint& output) void CWallet::UnlockNote(const SaplingOutPoint& output)
{ {
AssertLockHeld(cs_wallet); AssertLockHeld(cs_wallet);
setLockedSaplingNotes.erase(output); setLockedSaplingNotes.erase(output);
fprintf(stderr,"%s: unlocking note\n", __func__);
} }
void CWallet::UnlockAllSaplingNotes() void CWallet::UnlockAllSaplingNotes()