Skip to content

Commit 5658399

Browse files
jonasnicksanket1729
authored andcommitted
fixup! bulletproofs_generators_serialize doc
"plus one" seems to be wrong
1 parent 94b1ff7 commit 5658399

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/secp256k1_bulletproofs.h

+2-4
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@ SECP256K1_API secp256k1_bulletproofs_generators* secp256k1_bulletproofs_generato
4646
* Args: ctx: pointer to a context object
4747
* gen: pointer to the generator set to be serialized
4848
* Out: data: pointer to buffer into which the generators will be serialized
49-
* In/Out: data_len: the length of the `data` buffer. Should be initially set to at
50-
* least 33 times the number of generators plus one(33 * (num_gens + 1));
51-
* will be ser to 33 times the number of generators plus one
52-
* on successful return
49+
* In/Out: data_len: the length of the `data` buffer. Should be at least
50+
* k = 33 * num_gens. Will be set to k on successful return
5351
*
5452
* TODO: For ease of review, this setting G = H0 is not included in this commit. We will
5553
* add it in a separate commit.

0 commit comments

Comments
 (0)