From 749cf415566d3c534fbbf100a899c21e61beb15a Mon Sep 17 00:00:00 2001 From: fcecin Date: Sat, 18 Nov 2023 20:00:04 -0300 Subject: [PATCH] Fix for merge hotstuff_integration -> persist_hs_safety_liveness_state_WIP - hs_proposal_message::get_height --> hs_proposal_message::get_key fix --- libraries/hotstuff/qc_chain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/hotstuff/qc_chain.cpp b/libraries/hotstuff/qc_chain.cpp index 81f1669059..0a6d3f5e23 100644 --- a/libraries/hotstuff/qc_chain.cpp +++ b/libraries/hotstuff/qc_chain.cpp @@ -441,7 +441,7 @@ namespace eosio::hotstuff { seen_votes_store_type::nth_index<0>::type::iterator itr = _seen_votes_store.get().find( p->proposal_id ); bool propagate = false; if (itr == _seen_votes_store.get().end()) { - seen_votes sv = { p->proposal_id, p->get_height(), { vote.finalizer_key } }; + seen_votes sv = { p->proposal_id, p->get_key(), { vote.finalizer_key } }; _seen_votes_store.insert(sv); propagate = true; } else {