berry
berry copied to clipboard
refactor(core): add function getPotentialDescriptor
What's the problem this PR addresses? Moves computation of potential descriptor to a function
How did you fix it?
Adds function getPotentialDescriptor
and replaces let actualDescriptor
with const potentialDescriptor
Checklist
-
[x] I have read the Contributing Guide.
-
[x] I have set the packages that need to be released for my changes to be effective.
-
[x] I will check that all automated PR checks pass before the PR gets reviewed.