Skip to content

Commit

Permalink
Resolve codacy again
Browse files Browse the repository at this point in the history
  • Loading branch information
motxx authored and muratovv committed Jul 30, 2017
1 parent 048b84c commit 1d2dd16
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion irohad/main/genesis_block_server/genesis_block_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ namespace iroha {
for (const auto &tx : blk.transactions) {
for (const auto &command : tx.commands) {
auto valid = command->execute(query, executor);
if (!valid) return false;
if (not valid) {
return false;
}
}
}
return true;
Expand Down
2 changes: 1 addition & 1 deletion test/module/irohad/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

addtest(genesis_block_processor_test
genesis_block_server/genesis_block_processor_test.cpp)
genesis_block_server/genesis_proc_test.cpp)
target_link_libraries(genesis_block_processor_test
genesis_block_server
crypto
Expand Down

0 comments on commit 1d2dd16

Please sign in to comment.