BBB-01 | Lack Of Input Validation #3171
Labels
Minor
Reported as a minor vulnerability
Peggy Team
Peggy team task
Peggy 2.0
An issue blocking the Peggy 2.0 release
Affected Files: BridgeBank.sol L128
Description
In the
smart-contracts/contracts/BridgeBank/BridgeBank
contract, the given inputs of the_initialize
function are missing the sanity check.Recommendation
Recommend adding the check for the passed-in values to prevent unexpected error. For example:
The text was updated successfully, but these errors were encountered: