Skip to content

Commit

Permalink
fix print signature
Browse files Browse the repository at this point in the history
  • Loading branch information
sinev-valentine committed Oct 18, 2018
1 parent 54f75aa commit cb3b85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keychain_lib/include/keychain_lib/keychain_commands.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ struct keychain_command<command_te::sign> : keychain_command_base
throw std::runtime_error("unknown blockchain_type");
}

json_response response(to_hex(signature.begin(), signature.size()).c_str(), id);
json_response response(to_hex(signature.data(), signature.size()).c_str(), id);
fc_light::variant res(response);
return fc_light::json::to_pretty_string(res);
}
Expand Down

0 comments on commit cb3b85e

Please sign in to comment.