-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
It seems to me, that when computing id_commitment in slash():
| let id_commitment = hash_pair(&identity_secret, &[0u8; 32]); |
to be compatible with Zerokit, you would need to use compress_1() instead of hash_pair() (which in turn uses compress_2()).
Cf.:
let id_commitment = poseidon_hash(&[identity_secret])?;
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels