diff options
author | Samuel Dobson <dobsonsa68@gmail.com> | 2021-09-23 00:17:55 +1200 |
---|---|---|
committer | Samuel Dobson <dobsonsa68@gmail.com> | 2021-09-25 23:50:06 +1200 |
commit | c52789365e5dbcb25aa5f1775de4d318da79e5a7 (patch) | |
tree | 084875ba97e0bb82e4a34d5b1f2448af999dfbe3 /src/interfaces | |
parent | 51c7d88e6790d857b9920bb8b51422320dde662d (diff) |
Allow locked UTXOs to be store in the wallet database
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/wallet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index a85db04b8b..f92d100ef5 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -122,10 +122,10 @@ public: virtual bool displayAddress(const CTxDestination& dest) = 0; //! Lock coin. - virtual void lockCoin(const COutPoint& output) = 0; + virtual bool lockCoin(const COutPoint& output) = 0; //! Unlock coin. - virtual void unlockCoin(const COutPoint& output) = 0; + virtual bool unlockCoin(const COutPoint& output) = 0; //! Return whether coin is locked. virtual bool isLockedCoin(const COutPoint& output) = 0; |