From 6402f6357bb777d132f176dad8c45fcd9e166dc4 Mon Sep 17 00:00:00 2001 From: Determinant Date: Wed, 23 Jan 2019 17:00:14 -0500 Subject: correct the potential bug caused by multi-threaded messaging system --- include/hotstuff/entity.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/hotstuff/entity.h b/include/hotstuff/entity.h index 9b1b4b1..c112dd7 100644 --- a/include/hotstuff/entity.h +++ b/include/hotstuff/entity.h @@ -90,8 +90,7 @@ class ReplicaConfig { class Block; class HotStuffCore; -using block_t = salticidae::RcObj; -using block_weak_t = salticidae::WeakObj; +using block_t = salticidae::ArcObj; class Command: public Serializable { friend HotStuffCore; -- cgit v1.2.3