diff options
author | Determinant <ted.sybil@gmail.com> | 2019-08-30 20:45:38 -0400 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-08-30 20:45:38 -0400 |
commit | 5ffbe0da60782ea2aa7f2fd872b8880333620133 (patch) | |
tree | 89c8b99426d5820ae07539578b3f97e3a6a051ca /include/hotstuff/liveness.h | |
parent | 9b2128d042187b510b298cfbd724646b0300097e (diff) | |
parent | 870d09e53d93eee04e06fd225bfe4b124b7610aa (diff) |
Merge branch 'master' of github.com:hot-stuff/libhotstuff
Diffstat (limited to 'include/hotstuff/liveness.h')
-rw-r--r-- | include/hotstuff/liveness.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |