Skip to content

Commit 312841a

Browse files
Update jet interface to libsecp256k1
1 parent 64d50fd commit 312841a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

C/jets-secp256k1.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,9 @@ bool fe_multiply(frameItem* dst, frameItem src, const txEnv* env) {
172172
bool fe_multiply_beta(frameItem* dst, frameItem src, const txEnv* env) {
173173
(void) env; // env is unused;
174174

175-
static const secp256k1_fe beta = SECP256K1_FE_CONST(
176-
0x7ae96a2bul, 0x657c0710ul, 0x6e64479eul, 0xac3434e9ul,
177-
0x9cf04975ul, 0x12f58995ul, 0xc1396c28ul, 0x719501eeul
178-
);
179175
secp256k1_fe a;
180176
read_fe(&a, &src);
181-
secp256k1_fe_mul(&a, &a, &beta);
177+
secp256k1_fe_mul(&a, &a, &secp256k1_const_beta);
182178
write_fe(dst, &a);
183179
return true;
184180
}

0 commit comments

Comments
 (0)