fix tests

This commit is contained in:
2023-05-24 11:12:23 +01:00
parent c36544f9a3
commit 8f7a9a1327
98 changed files with 158 additions and 116 deletions

View File

@ -3,7 +3,7 @@ import { HexKey, u256 } from "@snort/nostr";
import { InteractionCache } from "Cache/EventInteractionCache";
import { EventInteraction } from "Db";
import { sha256, unwrap } from "Util";
import { sha256, unwrap } from "SnortUtils";
export function useInteractionCache(pubkey?: HexKey, event?: u256) {
const id = event && pubkey ? sha256(event + pubkey) : undefined;