silversixpence-crypto / dapol

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

Fix sample rang for liabilities when using random entities feature #155

Open Stentonian opened 7 months ago

Stentonian commented 7 months ago

The upper bound for the sample range for the liabilities is set to u64::MAX / num_entities in entities_parser.rs

It must be set to max_liability field in DapolConfig