diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/hotstuff/client.h | 3 |
1 files changed, 3 insertions, 0 deletions
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(); } |