This is a follow-up to PR #1330, which replaced scalar variables that were set to zero and one via secp256k1_scalar_set_int, but missed instances which were directly initialized via SECP256K1_SCALAR_CONST (found via git grep "SECP256K1_SCALAR_CONST(0,").
refactor: take use of `secp256k1_scalar_{zero,one}` constants (part 2) #1391
pull theStack wants to merge 1 commits into bitcoin-core:master from theStack:replace-scalar_zero_and_one_constants changing 2 files +25 −34-
theStack commented at 1:00 AM on August 1, 2023: contributor
-
refactor: take use of `secp256k1_scalar_{zero,one}` constants (part 2) a1bd4971d6
- real-or-random approved
-
real-or-random commented at 9:28 AM on August 1, 2023: contributor
-
jonasnick commented at 9:37 AM on August 3, 2023: contributor
ACK a1bd4971d6c6113f140143275141adb336fc3702
- jonasnick merged this on Aug 3, 2023
- jonasnick closed this on Aug 3, 2023
- theStack deleted the branch on Aug 3, 2023
- sipa referenced this in commit c0da4f60e2 on Sep 4, 2023
- Retropex referenced this in commit 5f62ed90f6 on Oct 4, 2023
- real-or-random referenced this in commit d575ef9aca on Oct 12, 2023
- janus referenced this in commit 1097330147 on Apr 1, 2024
- hebasto referenced this in commit b6de625950 on May 11, 2024
- delta1 referenced this in commit 6089844b3c on Apr 2, 2025
- div72 referenced this in commit af627d47c3 on Apr 12, 2025
- str4d referenced this in commit b9e749419a on Jun 4, 2025