Post
Topic
Board Bitcoin Technical Support
Re: Trying to send bitcoin to c-lightning. Getting "Invalid Bitcoin Address"
by
ncsupanda
on 08/02/2018, 15:53:00 UTC
Quote
First you need to transfer some funds to lightningd so that it can open a channel:

# Returns an address

cli/lightning-cli newaddr

# Returns a transaction id
bitcoin-cli sendtoaddress

-snip-
When I do bitcoin-cli listreceivedbyaddress 1 true, I'm not seeing the "newaddr" showing up in bitcoind, and can't seem to find how lightning handles its generated addresses.
-snip-

If you haven't sent any funds to the address, then isn't listreceivedbyaddress working correctly?