Set symbol earlier

This commit is contained in:
Duke Leto
2021-07-11 21:11:15 -04:00
parent 01e30ed2d9
commit b57d902438
2 changed files with 3 additions and 2 deletions

View File

@@ -2283,7 +2283,7 @@ bool CAddrDB::Read(CAddrMan& addr)
// ... verify the network matches ours
if (memcmp(pchMsgTmp, Params().MessageStart(), sizeof(pchMsgTmp)))
return error("%s: Invalid network magic number", __func__);
return error("%s: Invalid network magic number in %s", __func__, pathAddr.string());
// de-serialize address data into one CAddrMan object
ssPeers >> addr;