mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-12 05:42:25 +01:00
lnd can't detect bitcoind configuration if the config file has spaces around the = character, e.g.: ``` zmqpubrawblock = tcp://127.0.0.1:28332 zmqpubrawtx = tcp://127.0.0.1:28332 rpcuser = rpcuser ``` I had to dig into the source code to understand what was wrong. This patch solves this problem, bitcoind's config parsing source code can be seen at https://github.com/bitcoin/bitcoin/blob/master/src/util.cpp
43 KiB
43 KiB