fix: code review
This commit is contained in:
parent
8143d3bf52
commit
e607b7e223
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue