mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-01-09 21:38:00 -05:00
fixed assert in test
This commit is contained in:
@@ -386,6 +386,9 @@ mod tests {
|
||||
.to_affine();
|
||||
let pms = BigInt::from_bytes(pms.to_encoded_point(false).x().unwrap());
|
||||
|
||||
assert_eq!(pms, (master_share + slave_share));
|
||||
assert_eq!(
|
||||
pms,
|
||||
(master_share + slave_share) % BigInt::from_hex(P).unwrap()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user