aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-09-10 21:26:47 -0400
committerDeterminant <[email protected]>2018-09-10 21:26:47 -0400
commitd5dd8056119ae0293a5c75c76332f262f014d8a5 (patch)
tree0d9a6019a1557c3f52963763127403af1fd0b0db /include
parent570f335740f152e8042d717b0bf39f2e6cc5effa (diff)
...
Diffstat (limited to 'include')
-rw-r--r--include/hotstuff/client.h3
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();
}