Merge pull request #40 from instagibbs/size_t

use proper types for rangeproof min/max in unit test case
This commit is contained in:
Andrew Poelstra 2019-01-03 22:56:58 +00:00 committed by GitHub
commit 43dd1f4fe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -656,8 +656,8 @@ void test_rangeproof_fixed_vectors(void) {
0xf5, 0x1e, 0x0d, 0xc5, 0x86, 0x78, 0x51, 0xa9, 0x00, 0x00, 0xef, 0x4d, 0xe2, 0x94, 0x60, 0x89, 0xf5, 0x1e, 0x0d, 0xc5, 0x86, 0x78, 0x51, 0xa9, 0x00, 0x00, 0xef, 0x4d, 0xe2, 0x94, 0x60, 0x89,
0x83, 0x04, 0xb4, 0x0e, 0x90, 0x10, 0x05, 0x1c, 0x7f, 0xd7, 0x33, 0x92, 0x1f, 0xe7, 0x74, 0x59 0x83, 0x04, 0xb4, 0x0e, 0x90, 0x10, 0x05, 0x1c, 0x7f, 0xd7, 0x33, 0x92, 0x1f, 0xe7, 0x74, 0x59
}; };
size_t min_value_1; uint64_t min_value_1;
size_t max_value_1; uint64_t max_value_1;
secp256k1_pedersen_commitment pc; secp256k1_pedersen_commitment pc;
CHECK(secp256k1_pedersen_commitment_parse(ctx, &pc, commit_1)); CHECK(secp256k1_pedersen_commitment_parse(ctx, &pc, commit_1));