diff --git a/docs/reference/hubble/grpcapi/grpcapi.md b/docs/reference/hubble/grpcapi/grpcapi.md index f6ae3dd3..c7f8a0de 100644 --- a/docs/reference/hubble/grpcapi/grpcapi.md +++ b/docs/reference/hubble/grpcapi/grpcapi.md @@ -18,5 +18,5 @@ bindings for other clients built using other languages. Note that by default, hu javascript [ts-proto](https://www.npmjs.com/package/ts-proto) library's serialization byte order to verify messages hashes. If you are using a different client, you may need to use the `data_bytes` field with the raw serialized bytes when calling `SubmitMessage` in order for the message to be considered valid. Refer to -the [SubmitMessage HTTP API docs](/reference/hubble/httpapi/message#using-with-rust-go-or-other-programing-languages) +the [SubmitMessage HTTP API docs](/reference/hubble/httpapi/message#using-with-rust-go-or-other-programming-languages) for more details. diff --git a/docs/reference/hubble/httpapi/message.md b/docs/reference/hubble/httpapi/message.md index d3f1f557..58294619 100644 --- a/docs/reference/hubble/httpapi/message.md +++ b/docs/reference/hubble/httpapi/message.md @@ -196,7 +196,7 @@ async fn main() { let msg_data_bytes = msg_data.write_to_bytes().unwrap(); - // Calculate the blake3 hash, trucated to 20 bytes + // Calculate the blake3 hash, truncated to 20 bytes let hash = blake3::hash(&msg_data_bytes).as_bytes()[0..20].to_vec(); // Construct the actual message