Skip to content

Commit

Permalink
hash => key
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Sep 5, 2024
1 parent e1ef540 commit 7f6a0b0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/js-sdk/src/keystore/privatePreferencesStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7f6a0b0

Please sign in to comment.