aboutsummaryrefslogtreecommitdiff
path: root/include/hotstuff/hotstuff.h
diff options
context:
space:
mode:
authorDeterminant <tederminant@gmail.com>2018-07-18 21:44:40 -0400
committerDeterminant <tederminant@gmail.com>2018-07-18 21:44:40 -0400
commit9e745354fe10f31b829f0c02a2aa464f391ffd19 (patch)
treeee2a3e22f128c9281a82a5069aa013af1fd1308f /include/hotstuff/hotstuff.h
parent70ab6576db5e49f7b2a38ea955e75328a6376812 (diff)
...
Diffstat (limited to 'include/hotstuff/hotstuff.h')
-rw-r--r--include/hotstuff/hotstuff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hotstuff/hotstuff.h b/include/hotstuff/hotstuff.h
index 0aa83de..c8d8b5d 100644
--- a/include/hotstuff/hotstuff.h
+++ b/include/hotstuff/hotstuff.h
@@ -168,7 +168,7 @@ class HotStuffBase: public HotStuffCore {
/* the API for HotStuffBase */
/* Submit the command to be decided. */
- ReplicaID add_command(command_t cmd);
+ promise_t exec_command(command_t cmd);
void add_replica(ReplicaID idx, const NetAddr &addr, pubkey_bt &&pub_key);
void start(bool eb_loop = false);