fix: code review

This commit is contained in:
Richard Ramos 2022-05-18 09:16:59 -04:00 committed by Iuri Matias
parent 8143d3bf52
commit e607b7e223
1 changed files with 1 additions and 2 deletions

View File

@ -19,8 +19,7 @@ StatusModal {
property var store
function validate(communityKey) {
const bytes32Len = 66;
return communityKey.length === bytes32Len && Utils.isHex(communityKey) && Utils.startsWith0x(communityKey)
return Utils.isPrivateKey(communityKey) && Utils.startsWith0x(communityKey)
}
//% "Access existing community"