fix group key pair cache issue

pull/1807/head
Brice-W 4 years ago
parent 8b88eca050
commit 47e2f5726e

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

Loading…
Cancel
Save