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

Commit

Permalink
Remove redundant cmd clearing
Browse files Browse the repository at this point in the history
Signed-off-by: Kitsu <[email protected]>
  • Loading branch information
l4l committed Jun 30, 2018
1 parent 7b40ac4 commit a32cabd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ TEST_F(TransactionValidatorTest, UnsetCommand) {
tx.mutable_payload()->set_creator_account_id(account_id);
tx.mutable_payload()->set_created_time(created_time);
auto answer = transaction_validator.validate(proto::Transaction(tx));
tx.mutable_payload()->add_commands()->clear_add_asset_quantity();
tx.mutable_payload()->add_commands();
ASSERT_TRUE(answer.hasErrors());
}

Expand Down

0 comments on commit a32cabd

Please sign in to comment.