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

[lncli] encoding/hex: invalid byte: U+006C 'l' #963

Closed
fabianfabian opened this issue Mar 29, 2018 · 1 comment
Closed

[lncli] encoding/hex: invalid byte: U+006C 'l' #963

fabianfabian opened this issue Mar 29, 2018 · 1 comment

Comments

@fabianfabian
Copy link

Background

I was trying to send a payment for this article:
https://mainnet.yalls.org/articles/97d67df1-d721-417d-a6c0-11d793739be9:0965AC5E-56CD-4870-9041-E69616660E6F/70858a49-d91c-40fb-ae34-bddc2e938704

But I get this error: [lncli] encoding/hex: invalid byte: U+006C 'l'

Your environment

lnd --version
lnd version 0.4.0-beta

uname -a
Linux bunker 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux

bitcoind --version
Bitcoin Core Daemon version v0.16.0

Steps to reproduce

lncli decodepayreq lnbc1500n1pdtcvnypp5cghlfu63gpvjsyyrvw96240p4ne5de0ccf0zkgn6tzf6hk4s7lhsdzh2fjkzepqg9e8g6trd3jn5gzzv4nkjmnwv4ew9qyewvsywatfv3jjqar0yrhm3rlzn2s5c6t8dp6xu6twvlhm3rccqzyshly5p0lw37ylc7nm0xnyf9q7fxmt8seduxzma8v8un77xr6xudk8pv73fn4nrxcmza7x2dqpct6lljrqrefaxrwtu47lahqlatrzdkgp8pztxe
{
    "destination": "023668a30d0a27304695df3fb1af55a4fb75153eac34840817cae0e6a57894fd51",
    "payment_hash": "c22ff4f3514059281083638ba555e1acf346e5f8c25e2b227a5893abdab0f7ef",
    "num_satoshis": "150",
    "timestamp": "1522283108",
    "expiry": "3600",
    "description": "Read Article: Beginner’s Guide to ️⚡Lightning️",
    "description_hash": "",
    "fallback_addr": "",
    "cltv_expiry": "144"
}
lncli sendpayment lnbc1500n1pdtcvnypp5cghlfu63gpvjsyyrvw96240p4ne5de0ccf0zkgn6tzf6hk4s7lhsdzh2fjkzepqg9e8g6trd3jn5gzzv4nkjmnwv4ew9qyewvsywatfv3jjqar0yrhm3rlzn2s5c6t8dp6xu6twvlhm3rccqzyshly5p0lw37ylc7nm0xnyf9q7fxmt8seduxzma8v8un77xr6xudk8pv73fn4nrxcmza7x2dqpct6lljrqrefaxrwtu47lahqlatrzdkgp8pztxe
[lncli] encoding/hex: invalid byte: U+006C 'l'
@Roasbeef
Copy link
Member

You're using the sendpayment command incorrectly. The first expected value (without keyword arguments) is the destination. It seems you instead want the payinvoice command.

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

2 participants