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'
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
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'
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.
Most helpful comment
You're using the
sendpaymentcommand incorrectly. The first expected value (without keyword arguments) is the destination. It seems you instead want thepayinvoicecommand.