aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-09-10 21:38:28 -0400
committerDeterminant <[email protected]>2018-09-10 21:38:28 -0400
commita1e1b2eab5a1d0ab24182c4c2cb28899aacf43c6 (patch)
treee5cd220581e297e3aef6bd269a6bf98ec495aa2a /include
parentd5dd8056119ae0293a5c75c76332f262f014d8a5 (diff)
...
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();
}