diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-08-21 16:17:52 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-09-09 09:20:43 +0200 |
commit | fa55c3dc1b4bbdc6a53bd11fa6c0b2ec6bbb64ae (patch) | |
tree | 7c8b699fa4c19748eb427adb92dcd91ae4379f7c /src/addrdb.h | |
parent | fa4e2ccfd8ae96c381947285bef47cb39474ac89 (diff) |
Raise InitError when peers.dat is invalid or corrupted
Diffstat (limited to 'src/addrdb.h')
-rw-r--r-- | src/addrdb.h | 2 |
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 |