mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 07:39:08 +01:00
committed by
Wladimir J. van der Laan
parent
f3d4f1e5a1
commit
ec91092df8
@@ -3163,7 +3163,7 @@ bool LoadExternalBlockFile(FILE* fileIn, CDiskBlockPos *dbp)
|
||||
blkdat >> nSize;
|
||||
if (nSize < 80 || nSize > MAX_BLOCK_SIZE)
|
||||
continue;
|
||||
} catch (std::exception &e) {
|
||||
} catch (const std::exception &) {
|
||||
// no valid block header found; don't complain
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user