wallet: Change IsLockedNote to take a JSOutPoint
This removes the uint64_t -> size_t -> uint64_t round trip, as well as the JSOutPoint -> parts -> JSOutPoint round trip.
This commit is contained in:
@@ -907,7 +907,7 @@ public:
|
||||
void ListLockedCoins(std::vector<COutPoint>& vOutpts);
|
||||
|
||||
|
||||
bool IsLockedNote(uint256 hash, size_t js, uint8_t n) const;
|
||||
bool IsLockedNote(JSOutPoint& outpt) const;
|
||||
void LockNote(JSOutPoint& output);
|
||||
void UnlockNote(JSOutPoint& output);
|
||||
void UnlockAllNotes();
|
||||
|
||||
Reference in New Issue
Block a user