From d7fe1d43cad5794d8560b8a049fb982578dcbb48 Mon Sep 17 00:00:00 2001 From: Duke Date: Thu, 29 May 2025 18:43:30 -0400 Subject: [PATCH] Debug logs when locking/unlocking a note --- src/wallet/wallet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index b4bb6ded9..30f3fe714 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -4587,12 +4587,14 @@ void CWallet::LockNote(const SaplingOutPoint& output) { AssertLockHeld(cs_wallet); setLockedSaplingNotes.insert(output); + fprintf(stderr,"%s: locking note\n", __func__); } void CWallet::UnlockNote(const SaplingOutPoint& output) { AssertLockHeld(cs_wallet); setLockedSaplingNotes.erase(output); + fprintf(stderr,"%s: unlocking note\n", __func__); } void CWallet::UnlockAllSaplingNotes()