diff options
author | Determinant <[email protected]> | 2018-07-18 21:44:40 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2018-07-18 21:44:40 -0400 |
commit | 9e745354fe10f31b829f0c02a2aa464f391ffd19 (patch) | |
tree | ee2a3e22f128c9281a82a5069aa013af1fd1308f /src/hotstuff_client.cpp | |
parent | 70ab6576db5e49f7b2a38ea955e75328a6376812 (diff) |
...
Diffstat (limited to 'src/hotstuff_client.cpp')
-rw-r--r-- | src/hotstuff_client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hotstuff_client.cpp b/src/hotstuff_client.cpp index 1363f39..f9bfb94 100644 --- a/src/hotstuff_client.cpp +++ b/src/hotstuff_client.cpp @@ -68,12 +68,12 @@ void try_send() { } void on_receive(const MsgClient &msg, MsgNetwork<MsgClient>::conn_t) { - uint256_t cmd_hash; Finality fin; HOTSTUFF_LOG_DEBUG("got %s", std::string(msg).c_str()); if (!msg.verify_checksum()) HOTSTUFF_LOG_ERROR("incorrect checksum %08x", msg.get_checksum()); - msg.parse_respcmd(cmd_hash, fin); + msg.parse_respcmd(fin); + const uint256_t &cmd_hash = fin.cmd_hash; auto it = waiting.find(cmd_hash); if (fin.rid != proposer) { |