MCPcopy Create free account
hub / github.com/CommE2E/comm / getHash

Function getHash

keyserver/src/shared/state-sync/current-user-state-sync-spec.js:36–43  ·  view source on GitHub ↗
(currentUserInfo: CurrentUserInfo)

Source from the content-addressed store, hash-verified

34}
35
36async function getHash(currentUserInfo: CurrentUserInfo) {
37 const output = await validateOutput(
38 null,
39 currentUserInfoValidator,
40 currentUserInfo,
41 );
42 return hash(output);
43}

Callers 1

fetchServerInfosHashFunction · 0.85

Calls 2

validateOutputFunction · 0.90
hashFunction · 0.90

Tested by

no test coverage detected