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

Commit

Permalink
Change log order
Browse files Browse the repository at this point in the history
Signed-off-by: neewy <[email protected]>
  • Loading branch information
neewy committed Aug 29, 2018
1 parent a3dbd10 commit 349f838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irohad/multi_sig_transactions/impl/mst_processor_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ namespace iroha {

void FairMstProcessor::onPropagate(
const PropagationStrategy::PropagationData &data) {
log_->info("Propagate new data[{}]", data.size());
auto current_time = time_provider_->getCurrentTime();
std::for_each(
data.begin(), data.end(), [this, &current_time](const auto &peer) {
auto diff = storage_->getDiffState(peer, current_time);
if (not diff.isEmpty()) {
log_->info("Propagate new data[{}]", data.size());
transport_->sendState(*peer, diff);
}
});
Expand Down

0 comments on commit 349f838

Please sign in to comment.