diff options
author | Determinant <[email protected]> | 2018-09-10 21:26:47 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2018-09-10 21:26:47 -0400 |
commit | d5dd8056119ae0293a5c75c76332f262f014d8a5 (patch) | |
tree | 0d9a6019a1557c3f52963763127403af1fd0b0db /include/hotstuff | |
parent | 570f335740f152e8042d717b0bf39f2e6cc5effa (diff) |
...
Diffstat (limited to 'include/hotstuff')
-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(); } |