Return all identity hashes (not just as subset) (#2179)

This commit is contained in:
Jaco Greeff
2020-04-16 10:36:37 +02:00
committed by GitHub
parent 11534a1153
commit a97cb6e25d
+3 -3
View File
@@ -17,9 +17,9 @@ import { memo } from '../util';
function dataAsString (data: Data): string | undefined {
return data.isRaw
? u8aToString(data.asRaw.toU8a(true))
: data.isSha256
? data.asSha256.toHex()
: undefined;
: data.isNone
? undefined
: data.toHex();
}
function retrieveNick (api: ApiInterfaceRx, accountId?: AccountId): Observable<string | undefined> {