Skip to content

Bug: cln ps won't allowlist a peer #370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Impa10r opened this issue Apr 5, 2025 · 1 comment
Closed

Bug: cln ps won't allowlist a peer #370

Impa10r opened this issue Apr 5, 2025 · 1 comment

Comments

@Impa10r
Copy link
Contributor

Impa10r commented Apr 5, 2025

running a testnet4 pr #369, cln cannot allowlist an lnd peer:

~ $ lncli getinfo | grep identity_pubkey
    "identity_pubkey": "02b4a6fc4cd7e3fb9917571a96a4a075c70f7f4b8636eb022c23cca01ef863bde9",

~ $ lcli peerswap-allowswaprequests true
{
   "reserve_onchain_msat": "0",
   "min_swap_amount_msat": "100000000",
   "accept_all_peers": false,
   "allow_new_swaps": true,
   "allowlisted_peers": [
      "02b4a6fc4cd7e3fb9917571a96a4a075c70f7f4b8636eb022c23cca01ef863bde9"
   ],
   "suspicious_peer_list": []
}

~ $ pscli listpeers
{
  "peers": [
    {
      "node_id": "029068475954ed6236a3ee690273c90d6067199ba01b776c09fc3913b1b0a75aa9",
      "swaps_allowed": false,

I doubt that the PR introduced this bug. Would appreciate someone checking it on signet, testnet3 or mainnet with the latest master. I don't have them with cln...

@Impa10r
Copy link
Contributor Author

Impa10r commented Apr 5, 2025

oh, never mind. after some 10 minutes the permission propagated to the peer

@Impa10r Impa10r closed this as completed Apr 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant