Debug logs when locking/unlocking a note
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user