From 870d09e53d93eee04e06fd225bfe4b124b7610aa Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 23 Aug 2019 13:46:13 -0400 Subject: fix bugs --- include/hotstuff/liveness.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/hotstuff/liveness.h') diff --git a/include/hotstuff/liveness.h b/include/hotstuff/liveness.h index b0373ed..452ecdc 100644 --- a/include/hotstuff/liveness.h +++ b/include/hotstuff/liveness.h @@ -73,6 +73,7 @@ class PMHighTail: public virtual PaceMaker { void reg_hqc_update() { hsc->async_hqc_update().then([this](const block_t &hqc) { + hqc_tail = hqc; for (const auto &tail: hsc->get_tails()) if (check_ancestry(hqc, tail) && tail->get_height() > hqc_tail->get_height()) hqc_tail = tail; -- cgit v1.2.3