Avoid overflow on empty multiproof (#4564)

This commit is contained in:
Francisco
2023-09-04 05:17:03 -03:00
committed by GitHub
parent c0545f741b
commit a503ba1a0a
2 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
'openzeppelin-solidity': patch
---
`MerkleProof`: Use custom error to report invalid multiproof instead of reverting with overflow panic.