diff options
author | Determinant <[email protected]> | 2018-09-10 21:38:28 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2018-09-10 21:38:28 -0400 |
commit | a1e1b2eab5a1d0ab24182c4c2cb28899aacf43c6 (patch) | |
tree | e5cd220581e297e3aef6bd269a6bf98ec495aa2a /include/hotstuff | |
parent | d5dd8056119ae0293a5c75c76332f262f014d8a5 (diff) |
...
Diffstat (limited to 'include/hotstuff')
-rw-r--r-- | include/hotstuff/client.h | 2 |
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(); } |