aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <[email protected]>2012-11-16 20:48:34 +0000
committerLuke Dashjr <[email protected]>2012-11-16 20:48:34 +0000
commit9845499fa14e76161e8b349bb7eccce69578492c (patch)
tree12843dafda92d93eb9724080e6efa4c8b7987094 /src/main.cpp
parentUpdate supported translations (diff)
parentMerge branch '0.5.x' into 0.6.0.x (diff)
downloaddiscoin-9845499fa14e76161e8b349bb7eccce69578492c.tar.xz
discoin-9845499fa14e76161e8b349bb7eccce69578492c.zip
Merge branch '0.6.0.x' into 0.6.x
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9f5312a7e..76b355717 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.