fix group key pair cache issue

This commit is contained in:
Brice-W 2021-07-29 16:59:29 +10:00
parent 8b88eca050
commit 47e2f5726e

View file

@ -51,7 +51,7 @@ export async function getAllCachedECKeyPair(groupPubKey: string) {
cacheOfClosedGroupKeyPairs.set(groupPubKey, keyPairsFound);
}
return keyPairsFound;
return keyPairsFound.slice();
}
/**