Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit af73cf2

Browse files
authored
fix lint
1 parent c8024b8 commit af73cf2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/common/src/constraints/ValidityChecks.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ export const checkValidateIntention = async (
4747
): Promise<boolean> => {
4848
try {
4949
const validators = await chaindata.getValidators();
50-
if(!validators?.length || validators.includes(Util.formatAddress(candidate?.stash, config))){
50+
if (
51+
!validators?.length ||
52+
validators.includes(Util.formatAddress(candidate?.stash, config))
53+
) {
5154
await setValidateIntentionValidity(candidate.stash, true);
5255
return true;
5356
}

0 commit comments

Comments
 (0)