From 126628baff1970b7917b744e28260285859b11c1 Mon Sep 17 00:00:00 2001 From: b-wagn Date: Tue, 8 Oct 2024 10:31:22 +0200 Subject: [PATCH] Fix inconsistent parameter doc in blob.c --- src/eip4844/blob.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/eip4844/blob.c b/src/eip4844/blob.c index 261bd1c6..aafba3b4 100644 --- a/src/eip4844/blob.c +++ b/src/eip4844/blob.c @@ -24,7 +24,9 @@ * * @param[out] p The output polynomial (array of field elements) * @param[in] blob The blob (an array of bytes) - * @param[in] n The number of field elements in the polynomial/blob + * + * @remark The polynomial is of degree (at most) FIELD_ELEMENTS_PER_BLOB - 1. That is, + * the function will set the first FIELD_ELEMENTS_PER_BLOB elements of p. */ C_KZG_RET blob_to_polynomial(fr_t *p, const Blob *blob) { C_KZG_RET ret;