mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
bugfix FieldElem::SetHex
This commit is contained in:
@@ -62,7 +62,7 @@ void test_point_times_order(const GroupElemJac &point) {
|
||||
|
||||
void test_run_point_times_order() {
|
||||
Context ctx;
|
||||
FieldElem x; x.SetHex("0000000000000000000000000000000000000000000000000000000000000002");
|
||||
FieldElem x; x.SetHex("02");
|
||||
for (int i=0; i<500; i++) {
|
||||
GroupElemJac j; j.SetCompressed(x, true);
|
||||
test_point_times_order(j);
|
||||
|
||||
Reference in New Issue
Block a user