aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2012-11-16 20:48:34 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2012-11-16 20:48:34 +0000
commit9845499fa14e76161e8b349bb7eccce69578492c (patch)
tree12843dafda92d93eb9724080e6efa4c8b7987094
parente4ac5b3e5f6834f5bfbb4cfae50852ad1f46b147 (diff)
parentc510f571dc580c0460b4054d183255c23f370212 (diff)
downloadbitcoin-9845499fa14e76161e8b349bb7eccce69578492c.tar.xz
Merge branch '0.6.0.x' into 0.6.x
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9f5312a7ea..76b355717e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1369,7 +1369,7 @@ bool CBlock::ConnectBlock(CTxDB& txdb, CBlockIndex* pindex)
}
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));
// Update block index on disk without changing it in memory.
// The memory index structure will be changed after the db commits.