Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelsavannah committed Sep 11, 2018
1 parent 4f5e2b4 commit 42af94c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pbft/dummy_pbft_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dummy_pbft_service::apply_operation(std::shared_ptr<pbft_operation> op)
this->send_execute_response(op);
}

boost::asio::post(std::bind(this->execute_handler, op->request, this->next_request_sequence));
this->io_context->post(std::bind(this->execute_handler, op->request, this->next_request_sequence));

this->waiting_operations.erase(this->next_request_sequence);
this->next_request_sequence++;
Expand Down
2 changes: 1 addition & 1 deletion pbft/pbft.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ namespace bzn

bool preliminary_filter_msg(const pbft_msg& msg);

void handle_request(const pbft_request& msg, std::shared_ptr<bzn::session_base> session = std::shared_ptr<bzn::session_base>());
void handle_request(const pbft_request& msg, std::shared_ptr<bzn::session_base> session = nullptr);
void handle_preprepare(const pbft_msg& msg);
void handle_prepare(const pbft_msg& msg);
void handle_commit(const pbft_msg& msg);
Expand Down

0 comments on commit 42af94c

Please sign in to comment.