diff options
Diffstat (limited to 'db.h')
-rw-r--r-- | db.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -328,6 +328,8 @@ public: bool EraseName(const string& strAddress)
{
+ // This should only be used for sending addresses, never for receiving addresses,
+ // receiving addresses must always have an address book entry if they're not change return.
CRITICAL_BLOCK(cs_mapAddressBook)
mapAddressBook.erase(strAddress);
nWalletDBUpdated++;
|