Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixFan1992 committed Jan 28, 2025
1 parent b0ec2b2 commit 9f3c405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SubscriptionManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class SubscriptionManager {
public async isAllowlisted(addr: string): Promise<void> {
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',
)
Expand Down

0 comments on commit 9f3c405

Please sign in to comment.