Skip to content
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

Error: 12 UNIMPLEMENTED: unknown service lnrpc.WalletUnlocker when calling unlockWallet #34

Open
mitchelljustin opened this issue Apr 25, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@mitchelljustin
Copy link

mitchelljustin commented Apr 25, 2019

Version: 0.6.0-beta.0
Arch: darwin
Node: 11.10.1

  const lnRpc = await createLnRpc({
    server: "localhost:10009",
    tls: "./lnd_data/tls.cert",
    macaroonPath: "./lnd_data/data/chain/bitcoin/testnet/admin.macaroon",
  })
  await lnRpc.unlockWallet({
    walletPassword: "...",
  })
@cavanmflynn
Copy link
Contributor

Hey @mvanderh, this seems to be working as designed against my node.

The WalletUnlocker service is not available after you unlock the wallet. Once it is unlocked, you'll only be able to interact with the Lightning service and any call to the WalletUnlocker service will result in Error: 12 UNIMPLEMENTED: unknown service lnrpc.WalletUnlocker.

Could you double check that your wallet is not already unlocked?

@mitchelljustin
Copy link
Author

Ah i see, yes that was it. Is there any chance you could make the error message clearer? It's confusing for newcomers.

@cavanmflynn
Copy link
Contributor

cavanmflynn commented May 1, 2019

The UNIMPLEMENTED error messages come right from the gRPC service, rather than our client. That said, I understand they can be confusing. I'll take a look at adding more helpful error messages when a gRPC service is not up.

@cavanmflynn cavanmflynn added the enhancement New feature or request label May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants