aboutsummaryrefslogtreecommitdiff
path: root/src/addrdb.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-08-21 16:17:52 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-09-09 09:20:43 +0200
commitfa55c3dc1b4bbdc6a53bd11fa6c0b2ec6bbb64ae (patch)
tree7c8b699fa4c19748eb427adb92dcd91ae4379f7c /src/addrdb.h
parentfa4e2ccfd8ae96c381947285bef47cb39474ac89 (diff)
Raise InitError when peers.dat is invalid or corrupted
Diffstat (limited to 'src/addrdb.h')
-rw-r--r--src/addrdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/addrdb.h b/src/addrdb.h
index 55fcd7508f..33cc1f9204 100644
--- a/src/addrdb.h
+++ b/src/addrdb.h
@@ -21,7 +21,7 @@ struct bilingual_str;
bool DumpPeerAddresses(const ArgsManager& args, const CAddrMan& addr);
/** Only used by tests. */
-bool ReadFromStream(CAddrMan& addr, CDataStream& ssPeers);
+void ReadFromStream(CAddrMan& addr, CDataStream& ssPeers);
/** Access to the banlist database (banlist.json) */
class CBanDB