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

Commit

Permalink
pr issues
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail Boldyrev <[email protected]>
  • Loading branch information
MBoldyrev committed Apr 16, 2019
1 parent 7884dc2 commit 53a93e7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions irohad/multi_sig_transactions/impl/mst_processor_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,10 @@ namespace iroha {
// TODO [IR-1687] Akvinikym 10.09.18: three methods below should be one
void FairMstProcessor::completedBatchesNotify(
std::vector<std::shared_ptr<MovedBatch>> completed) const {
if (not completed.empty()) {
std::for_each(
completed.begin(), completed.end(), [this](const auto &batch) {
batches_subject_.get_subscriber().on_next(batch);
});
}
std::for_each(
completed.begin(), completed.end(), [this](const auto &batch) {
batches_subject_.get_subscriber().on_next(batch);
});
}

void FairMstProcessor::updatedBatchesNotify(ConstRefState state) const {
Expand Down

0 comments on commit 53a93e7

Please sign in to comment.