Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Commit

Permalink
Fix thread safe issue in status streaming (#1991)
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantin Munichev <[email protected]>
  • Loading branch information
luckychess authored Dec 26, 2018
1 parent be43cdd commit 428ab64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irohad/torii/impl/command_service_transport_grpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ namespace torii {

auto hash = shared_model::crypto::Hash(request->tx_hash());

static auto client_id_format = boost::format("Peer: '%s', %s");
auto client_id_format = boost::format("Peer: '%s', %s");
std::string client_id =
(client_id_format % context->peer() % hash.toString()).str();

Expand Down

0 comments on commit 428ab64

Please sign in to comment.