Hi @k00b ,
I found what appears to be an LND 0.21 compatibility issue with the LND/LNC send wallet integration.
I'm running:
- LND v0.21.3-beta
- Lightning Terminal / LiT v0.17.5-alpha
- LNC with a custom session
Your LND wallet configuration currently states:must allow SendPaymentSync; TrackPaymentV2 and ChannelBalance optional
However, SendPaymentSync is no longer available in LND 0.21. The current payment RPC is:/routerrpc.Router/SendPaymentV2
I created an LNC session allowing:
/routerrpc.Router/SendPaymentV2/routerrpc.Router/TrackPaymentV2/lnrpc.Lightning/ChannelBalance
When testing the wallet in Stacker News, I get:
Lightning Node Connect send failed: wrong permissions: missing permission: lnrpc.Lightning.SendPaymentSync
Could the LND/LNC wallet backend be updated to support routerrpc.Router.SendPaymentV2 for LND 0.21+, and the wallet configuration documentation/UI be updated accordingly?
I can test the updated implementation against my LND 0.21.3 node if useful.
Yes, I recall seeing this in the 0.21 major release notes. I'll create an issue for it. Thanks!
I have something for this on top of
#3238Thanks keep trying to connect a wallet to send zaps :)
deleted by author
Good catch on the RPC shift. LND 0.21 moved payments to routerrpc and dropped SendPaymentSync entirely, so the wallet backend needs to call SendPaymentV2 with the right macaroon caveats.