diff options
| author | Pavel Janík <[email protected]> | 2016-04-26 22:22:59 +0200 |
|---|---|---|
| committer | Pavel Janík <[email protected]> | 2016-04-26 22:22:59 +0200 |
| commit | 61c01706cd1d38023facea7f25bc1d84980f8c43 (patch) | |
| tree | 7045880b7c38a94320b9750d2770e0f5f2fa16f6 /src/main.cpp | |
| parent | Merge #7688: List solvability in listunspent output and improve help (diff) | |
| download | discoin-61c01706cd1d38023facea7f25bc1d84980f8c43.tar.xz discoin-61c01706cd1d38023facea7f25bc1d84980f8c43.zip | |
Log invalid block hash to make debugging easier.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index f6a89fa2e..a8f8e6fa5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3371,7 +3371,7 @@ static bool AcceptBlockHeader(const CBlockHeader& block, CValidationState& state if (ppindex) *ppindex = pindex; if (pindex->nStatus & BLOCK_FAILED_MASK) - return state.Invalid(error("%s: block is marked invalid", __func__), 0, "duplicate"); + return state.Invalid(error("%s: block %s is marked invalid", __func__, hash.ToString()), 0, "duplicate"); return true; } |