From 7f6a0b0e5cea884ad607d1ed56aad45a79516fd5 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Thu, 5 Sep 2024 13:10:31 -0500 Subject: [PATCH] hash => key --- packages/js-sdk/src/keystore/privatePreferencesStore.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/js-sdk/src/keystore/privatePreferencesStore.ts b/packages/js-sdk/src/keystore/privatePreferencesStore.ts index e6bc68b4d..d397272c6 100644 --- a/packages/js-sdk/src/keystore/privatePreferencesStore.ts +++ b/packages/js-sdk/src/keystore/privatePreferencesStore.ts @@ -123,10 +123,8 @@ export class PrivatePreferencesStore { return Array.from(sortedActions.values()) } - lookup( - hash: string - ): privatePreferences.PrivatePreferencesAction | undefined { - return this.actionsMap.get(hash) + lookup(key: string): privatePreferences.PrivatePreferencesAction | undefined { + return this.actionsMap.get(key) } #toBytes(): Uint8Array {