silversixpence-crypto / dapol

DAPOL+ Proof of Liabilities using Bulletproofs and Sparse Merkle trees
MIT License
8 stars 2 forks source link

Enforce max bytes check on deserialization of Entity #77

Open Stentonian opened 11 months ago

Stentonian commented 11 months ago

Inside entity

// TODO this is not enforced on deserialization, do that
const ENTITY_ID_MAX_BYTES: usize = 32;