Refactor: rename ListLockedNotes -> ListLockedSproutNotes

This commit is contained in:
Simon 2018-08-29 11:26:39 -07:00
parent 9ae73247e2
commit 0f62cacf0c
2 changed files with 2 additions and 2 deletions

View File

@ -3851,7 +3851,7 @@ bool CWallet::IsLockedNote(const JSOutPoint& outpt) const
return (setLockedSproutNotes.count(outpt) > 0); return (setLockedSproutNotes.count(outpt) > 0);
} }
std::vector<JSOutPoint> CWallet::ListLockedNotes() std::vector<JSOutPoint> CWallet::ListLockedSproutNotes()
{ {
AssertLockHeld(cs_wallet); // setLockedSproutNotes AssertLockHeld(cs_wallet); // setLockedSproutNotes
std::vector<JSOutPoint> vOutpts(setLockedSproutNotes.begin(), setLockedSproutNotes.end()); std::vector<JSOutPoint> vOutpts(setLockedSproutNotes.begin(), setLockedSproutNotes.end());

View File

@ -968,7 +968,7 @@ public:
void LockNote(const JSOutPoint& output); void LockNote(const JSOutPoint& output);
void UnlockNote(const JSOutPoint& output); void UnlockNote(const JSOutPoint& output);
void UnlockAllSproutNotes(); void UnlockAllSproutNotes();
std::vector<JSOutPoint> ListLockedNotes(); std::vector<JSOutPoint> ListLockedSproutNotes();
/** /**