diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-04-28 13:52:31 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-04-28 13:53:01 +0200 |
| commit | a9c8b744e8875785ff9a3768df3517b2d9ed7a36 (patch) | |
| tree | fa8f6dea8040b6e5bc5118bc3f9cb42447185847 /src/main.cpp | |
| parent | Merge #7514: Fix IsInitialBlockDownload for testnet (diff) | |
| parent | Log invalid block hash to make debugging easier. (diff) | |
| download | discoin-a9c8b744e8875785ff9a3768df3517b2d9ed7a36.tar.xz discoin-a9c8b744e8875785ff9a3768df3517b2d9ed7a36.zip | |
Merge #7952: Log invalid block hash to make debugging easier.
61c0170 Log invalid block hash to make debugging easier. (Pavel JanÃk)
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 87f15737f..11ccab253 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; } |