diff options
author | Determinant <[email protected]> | 2019-01-23 17:00:14 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2019-01-23 17:00:14 -0500 |
commit | 6402f6357bb777d132f176dad8c45fcd9e166dc4 (patch) | |
tree | 0c82b65d3a065242a1f02c3f8ff4579433cb2d11 /include | |
parent | 7eadf178bdc9043851c1632e0771a6d9c35008d6 (diff) |
correct the potential bug caused by multi-threaded messaging system
Diffstat (limited to 'include')
-rw-r--r-- | include/hotstuff/entity.h | 3 |
1 files changed, 1 insertions, 2 deletions
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<Block>; -using block_weak_t = salticidae::WeakObj<Block>; +using block_t = salticidae::ArcObj<Block>; class Command: public Serializable { friend HotStuffCore; |