Skip to content

Commit

Permalink
fixed init
Browse files Browse the repository at this point in the history
  • Loading branch information
acedward committed Dec 18, 2023
1 parent dbf93c8 commit 0f60d3c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/node-sdk/paima-db/src/delegate-wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ export async function getRelatedWallets(
// This improves performance by caching the results of the queries.
// It is not enabled by default because `clearDelegateWalletCacheOnChanges` must be called from client.
export async function clearDelegateWalletCacheOnChanges(DBConn: Client): Promise<void> {
useAddressCache = true;

if (useAddressCache) throw new Error('Already listening to wallet connect updates');
doLog('Listening to wallet connect updates');
await DBConn.query('LISTEN wallet_connect_change');
Expand Down

0 comments on commit 0f60d3c

Please sign in to comment.