1
0
Fork 0
mirror of synced 2025-09-22 11:47:57 +00:00

fix sizes in scalar_mul

This commit is contained in:
dark64 2024-04-15 14:36:02 +02:00
parent 56fa4f7eb0
commit a1e4d660f6

View file

@ -481,7 +481,7 @@ library Pairing {
input[2] = s;
bool success;
assembly {
success := staticcall(sub(gas(), 2000), 7, input, 0x80, r, 0x60)
success := staticcall(sub(gas(), 2000), 7, input, 0x60, r, 0x40)
// Use "invalid" to make gas estimation work
switch success case 0 { invalid() }
}