From d5dd8056119ae0293a5c75c76332f262f014d8a5 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 10 Sep 2018 21:26:47 -0400 Subject: ... --- include/hotstuff/client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/hotstuff/client.h b/include/hotstuff/client.h index ca18062..41e62af 100644 --- a/include/hotstuff/client.h +++ b/include/hotstuff/client.h @@ -42,6 +42,9 @@ class CommandDummy: public Command { uint256_t compute_hash() { DataStream s; s << cid << n; +#if HOTSTUFF_CMD_REQSIZE > 0 + s << payload; +#endif return s.get_hash(); } -- cgit v1.2.3