Skip to content

Commit

Permalink
Refactor transport test with hex
Browse files Browse the repository at this point in the history
Signed-off-by: kamilsa <[email protected]>
  • Loading branch information
kamilsa committed Dec 27, 2018
1 parent 4813dbf commit 68b0e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/module/irohad/torii/torii_transport_command_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ TEST_F(CommandServiceTransportGrpcTest, Status) {

iroha::protocol::TxStatusRequest tx_request;
const shared_model::crypto::Hash hash(std::string(kHashLength, '1'));
tx_request.set_tx_hash(shared_model::crypto::toBinaryString(hash));
tx_request.set_tx_hash(hash.hex());

iroha::protocol::ToriiResponse toriiResponse;
std::shared_ptr<shared_model::interface::TransactionResponse> response =
Expand Down

0 comments on commit 68b0e36

Please sign in to comment.