Allow locked UTXOs to be store in the wallet database

This commit is contained in:
Samuel Dobson
2021-09-23 00:17:55 +12:00
parent 51c7d88e67
commit c52789365e
6 changed files with 58 additions and 18 deletions

View File

@@ -214,12 +214,12 @@ public:
LOCK(m_wallet->cs_wallet);
return m_wallet->DisplayAddress(dest);
}
void lockCoin(const COutPoint& output) override
bool lockCoin(const COutPoint& output) override
{
LOCK(m_wallet->cs_wallet);
return m_wallet->LockCoin(output);
}
void unlockCoin(const COutPoint& output) override
bool unlockCoin(const COutPoint& output) override
{
LOCK(m_wallet->cs_wallet);
return m_wallet->UnlockCoin(output);