stakwork / sphinx-relay

Node.js wrapper for communication between sphinx client and lightning node.
MIT License
247 stars 71 forks source link

unknown service signrpc.Signer #108

Open webdiverblue opened 3 years ago

webdiverblue commented 3 years ago

Hi there,

The error appears when i try to send a message or want scan an qr code from a tribe group

any suggestions?

2020-11-22T12_38_57_261Z-debug.log

Screenshot from 2020-11-23 13-03-58

djseeds commented 3 years ago

Hi, I ran into this today too. It turns out this RPC server is not included in LND by default when building manually (but it is included in the Release version, so that's probably why others aren't having the issue).

To build with the signrpc server, build lnd with the signrpc tag: make install tags=signrpc

After rebuilding lnd, you'll probably also have to delete your admin macaroon, which needs to be recreated to grant you permission to the new RPC server: rm ~/.lnd/data/chain/bitcoin/admin.macaroon

After these steps, restart lnd and sphinx-relay and things should work as expected.