fix error str
This commit is contained in:
parent
61304129ae
commit
c746f101a7
|
@ -18,7 +18,7 @@ fn main() {
|
||||||
// (it's a prime!)
|
// (it's a prime!)
|
||||||
let p = U256::from_dec_str(
|
let p = U256::from_dec_str(
|
||||||
"38873241744847760218045702002058062581688990428170398542849190507947196700873"
|
"38873241744847760218045702002058062581688990428170398542849190507947196700873"
|
||||||
).expect("Generator to be a parsable number");
|
).expect("p to be a good number in the example");
|
||||||
|
|
||||||
// then, on this field,
|
// then, on this field,
|
||||||
// (p-1) + (p+1) = 0
|
// (p-1) + (p+1) = 0
|
||||||
|
|
Loading…
Reference in New Issue