Skip to content

Enabling the whitelist breaks NWC connections. #233

@20a8vnf30

Description

@20a8vnf30

I would prefer to use the pubkey whitelist but his breaks my NWC connections.

I'm using nostr-rs-relay 0.9.0.
A private instance of LNbits 1.1.0 where my LN wallet lives.
The LNbits NWC service provider extension 1.0.0.
LND 0.18.5
Primal on Windows in the Brave browser.
Primal Android app.

I've connected both Primal clients to the LN wallet using NWC and I'm able to send zaps.
When I enable the pubkey whitelist in config.toml my NWC connection stops working, when I disable the whitelist the problem is fixed.

My Nostr pubkey that is trying to send the zap, and the Nostr pubkey of the guy I'm trying to zap are both included in the whitelist.
Am I doing something wrong?
Is there a pubkey from the LNbits server I need to whitelist on the relay too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions