Skip to content

Commit f89df39

Browse files
committed
f2
1 parent 6e7aaa9 commit f89df39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modules/rangeproof/main_impl.h

+1
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ int secp256k1_rangeproof_create_value(const secp256k1_context* ctx, unsigned cha
423423
if (*plen < (value == 0 ? 65 : 73)) {
424424
return 0;
425425
}
426+
*plen = value == 0 ? 65 : 73;
426427

427428
secp256k1_pedersen_commitment_load(&commitp, commit);
428429
secp256k1_generator_load(&genp, gen);

0 commit comments

Comments
 (0)