aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/hotstuff/client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hotstuff/client.h b/include/hotstuff/client.h
index 41e62af..4fde7b2 100644
--- a/include/hotstuff/client.h
+++ b/include/hotstuff/client.h
@@ -43,7 +43,7 @@ class CommandDummy: public Command {
DataStream s;
s << cid << n;
#if HOTSTUFF_CMD_REQSIZE > 0
- s << payload;
+ s.put_data(payload, payload + HOTSTUFF_CMD_REQSIZE);
#endif
return s.get_hash();
}