Skip to content

Commit

Permalink
Refactor NFD validation logic in validatorRegistry.algo.ts
Browse files Browse the repository at this point in the history
Streamline the NFD validation process by replacing duplicated sendAppCall calls with the isNFDAppIDValid utility function. This improves code readability and reduces redundancy, ensuring consistent NFD validation checks across various methods.
Added additional check in changeValidatorRewardInfo to verify nfd validity if the gating type was changed to an nfd related type
  • Loading branch information
pbennett committed Sep 10, 2024
1 parent 0a07338 commit cadb1ff
Show file tree
Hide file tree
Showing 7 changed files with 21,601 additions and 21,943 deletions.
Loading

0 comments on commit cadb1ff

Please sign in to comment.