X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fwalletdb.h;h=c65d7762ad80db8f738640885d4968a15bb16187;hp=9d57c937b64095f5ad22a6cb56af976fb16ecc5c;hb=48564f02c4769f26295bedfc04b796246ad0d0bc;hpb=e1b880f73f13657d82309aa550697336dfcb7ec9 diff --git a/src/walletdb.h b/src/walletdb.h index 9d57c93..c65d776 100644 --- a/src/walletdb.h +++ b/src/walletdb.h @@ -129,6 +129,12 @@ public: return Write(std::make_pair(std::string("watchs"), dest), '1'); } + bool CWalletDB::EraseWatchOnly(const CScript &dest) + { + nWalletDBUpdated++; + return Erase(std::make_pair(std::string("watchs"), dest)); + } + bool WriteBestBlock(const CBlockLocator& locator) { nWalletDBUpdated++;