From 9f3c40522097a586af30bd113b8e08a0b8f13829 Mon Sep 17 00:00:00 2001 From: FelixFan1992 Date: Tue, 28 Jan 2025 00:35:38 -0500 Subject: [PATCH] fix --- src/SubscriptionManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SubscriptionManager.ts b/src/SubscriptionManager.ts index 60a6d40..84c3111 100644 --- a/src/SubscriptionManager.ts +++ b/src/SubscriptionManager.ts @@ -91,7 +91,7 @@ export class SubscriptionManager { public async isAllowlisted(addr: string): Promise { this.isInitialized() - if (this.functionsAllowList && !(await this.functionsAllowList.hasAccess(addr, []))) { + if (this.functionsAllowList && !(await this.functionsAllowList.hasAccess(addr, '0x'))) { throw Error( 'This wallet has not been added to the allow list. For access, sign up here:\nhttps://functions.chain.link\n', )