aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-08-03 17:50:32 -0400
committerDeterminant <[email protected]>2018-08-03 17:50:32 -0400
commit8b912c47e19353a419c8717f7a839b0d63f5cc6c (patch)
treef3f29f9785073e1a64515b0705a5837b077dc0c8 /include
parent3e9f8b641e623054e50f69a5b41d85f8e65a2e13 (diff)
...
Diffstat (limited to 'include')
-rw-r--r--include/hotstuff/consensus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hotstuff/consensus.h b/include/hotstuff/consensus.h
index b176eb4..1528b40 100644
--- a/include/hotstuff/consensus.h
+++ b/include/hotstuff/consensus.h
@@ -212,7 +212,7 @@ struct Vote: public Serializable {
voter(other.voter),
bqc_hash(other.bqc_hash),
blk_hash(other.blk_hash),
- cert(other.cert->clone()),
+ cert(other.cert ? other.cert->clone() : nullptr),
hsc(other.hsc) {}
Vote(Vote &&other) = default;