aboutsummaryrefslogtreecommitdiff
path: root/include/hotstuff/entity.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hotstuff/entity.h')
-rw-r--r--include/hotstuff/entity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hotstuff/entity.h b/include/hotstuff/entity.h
index ce7d9bf..29300a9 100644
--- a/include/hotstuff/entity.h
+++ b/include/hotstuff/entity.h
@@ -224,7 +224,7 @@ class EntityStorage {
block_t add_blk(Block &&_blk, const ReplicaConfig &config) {
if (!_blk.verify(config))
{
- HOTSTUFF_LOG_WARN("block is invalid");
+ HOTSTUFF_LOG_WARN("invalid %s", std::string(_blk).c_str());
return nullptr;
}
block_t blk = new Block(std::move(_blk));