Skip to content

lncli: No routehints argument defined for sendpayment & queryroutes #6601

@Yiidiir

Description

@Yiidiir

Background

The issue has arisen when trying to do a keysend payment from an LND node to @hsjoberg 's @BlixtWallet also running LND node. Keysend works when sending payments from Blixt LND to a Desktop LND but not the other way around.

It turns out it was because of the private nature of Blixt channels, sending from Blixt Wallet to Another Blixt Wallet is possible because the QR code contains route hints in a form of JSON that are passed to lnd within Blixt Wallet using routerrpc.SendPaymentRequest spec.

For some reason I can't get the --route_hints argument to work in lncli so I can do a keysend payment to Blixt from a desktop node, actually, the only place that argument is mentioned to exist within lndcli is the API doc

I've done some digging in commits history and --route_hints should be available both in lncli sendpayment and lncli queryroutes but All I get is

[lncli] flag provided but not defined: -route_hints

Tried other combinations like --routehints but same result

Your environment

  • version of lnd 0.14.3-beta
  • which operating system Ubuntu / Win10 pre-built binaries
  • version of btcd, bitcoind, or other backend neutrino
  • any other relevant environment details /

Steps to reproduce

run lncli sendpayment --keysend or lncli queryroutes with --route_hints argument.

Expected behavior

  • Payment goes through via private channels specified in the route_hints argument.
  • Query routes returns a route through the private channels specified.

Actual behaviour

[lncli] flag provided but not defined: -route_hints

related #3971

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginnerIssues suitable for new developersgood first issueIssues suitable for first time contributors to LNDlnclipaymentsRelated to invoices/payments

    Projects

    Status

    In progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions