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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hotstuff/entity.h b/include/hotstuff/entity.h
index 29300a9..6f73db8 100644
--- a/include/hotstuff/entity.h
+++ b/include/hotstuff/entity.h
@@ -196,7 +196,8 @@ class Block {
s << "<block "
<< "id=" << get_hex10(hash) << " "
<< "height=" << std::to_string(height) << " "
- << "parent=" << get_hex10(parent_hashes[0]) << ">";
+ << "parent=" << get_hex10(parent_hashes[0]) << " "
+ << "qc_ref=" << (qc_ref ? get_hex10(qc_ref->get_hash()) : "null") << ">";
return std::move(s);
}
};