diff options
| author | Jeff Garzik <[email protected]> | 2012-11-15 18:18:55 -0800 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2012-11-15 18:18:55 -0800 |
| commit | a0bf93b80958eb77f95f3f3a42aca31b7ffe73c7 (patch) | |
| tree | 344634903e42eaf2ffdd9d8613705298bc27f08f /src/main.cpp | |
| parent | Merge pull request #2010 from Diapolo/bind_unsigned (diff) | |
| parent | Print error for coinbase-pays-too-much case of ConnectBlock failing (diff) | |
| download | discoin-a0bf93b80958eb77f95f3f3a42aca31b7ffe73c7.tar.xz discoin-a0bf93b80958eb77f95f3f3a42aca31b7ffe73c7.zip | |
Merge pull request #2012 from luke-jr/invblk_errs
Print error for coinbase-pays-too-much case of ConnectBlock failing
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 56012a131..e6f0d9ef5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1610,7 +1610,7 @@ bool CBlock::ConnectBlock(CBlockIndex* pindex, CCoinsViewCache &view, bool fJust } if (vtx[0].GetValueOut() > GetBlockValue(pindex->nHeight, nFees)) - return false; + return error("ConnectBlock() : coinbase pays too much (actual=%lld vs limit=%lld)", (long long)vtx[0].GetValueOut(), (long long)GetBlockValue(pindex->nHeight, nFees)); if (fJustCheck) return true; |