Update Element.java (#4804)

Signed-off-by: kevaundray <kevtheappdev@gmail.com>

Signed-off-by: kevaundray <kevtheappdev@gmail.com>
Co-authored-by: Gabriel-Trintinalia <gabriel.trintinalia@consensys.net>
pull/4819/head
kevaundray 2 years ago committed by GitHub
parent bd964ed3f5
commit f3b7db1580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ethereum/verkletrie/src/main/java/org/hyperledger/besu/ethereum/verkletrie/bandersnatch/fp/Element.java

@ -32,7 +32,7 @@ public class Element {
static {
{
// z0, z1, z2 and z3 represent the 4 limbs of element
// `0` in Montgomery form.
// `1` in Montgomery form.
UInt256 z0 = UInt256.valueOf(8589934590L);
UInt256 z1 = UInt256.valueOf(6378425256633387010L).shiftLeft(64);
UInt256 z2 = UInt256.valueOf(new BigInteger("11064306276430008309", 10)).shiftLeft(128);

Loading…
Cancel
Save