reset identityOf

This commit is contained in:
Jaco Greeff
2020-03-09 14:21:06 +01:00
parent 5b40d95b0f
commit 77d894dd00
+1 -1
View File
@@ -79,7 +79,7 @@ function extractIdentity (identityOfOpt?: Option<Registration>, superOf?: [Accou
function retrieveIdentity (api: ApiInterfaceRx, accountId?: AccountId): Observable<DeriveAccountRegistration> {
return ((
accountId && api.query.identity?.identityOfFALSE
accountId && api.query.identity?.identityOf
? api.queryMulti([
[api.query.identity.identityOf, accountId],
[api.query.identity.superOf, accountId]