MetavaultsRegistry::registerMarket()/allowBridgePath() duplicate onlyRegistered modifier
Summary
Duplicate checks
Vulnerability Detail
MetavaultsRegistry::onlyRegistered() modifier is present on both the external functions and internal ones.
Impact
Gas usage.
Code Snippet
Tool Used
Manual Review
Recommendation
Keep the modifier only in the internal functions. Don't do this for the restricted modifier though, that one needs to be on the external function.