diff options
| author | Pieter Wuille <[email protected]> | 2012-03-26 20:17:35 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-03-26 20:22:38 +0200 |
| commit | 53cb1a49e744b9ebed85bb03ccd1a241cf818d74 (patch) | |
| tree | ad281935559850934b14b6ea298954c619c5d6fc /src/db.h | |
| parent | Merge pull request #974 from sipa/walletupgrade (diff) | |
| download | discoin-53cb1a49e744b9ebed85bb03ccd1a241cf818d74.tar.xz discoin-53cb1a49e744b9ebed85bb03ccd1a241cf818d74.zip | |
Use erase instead of rewrite to remove old addr entries
Diffstat (limited to 'src/db.h')
| -rw-r--r-- | src/db.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -306,10 +306,8 @@ private: CAddrDB(const CAddrDB&); void operator=(const CAddrDB&); public: - bool WriteAddress(const CAddress& addr); - bool EraseAddress(const CAddress& addr); bool WriteAddrman(const CAddrMan& addr); - bool LoadAddresses(bool &fUpdate); + bool LoadAddresses(); }; bool LoadAddresses(); |