mirror of
https://github.com/lightninglabs/loop
synced 2024-11-09 19:10:47 +00:00
dd57e8fb4e
According to the comment in the code, loopdir should affect tls cert path and macaroon path only if custom values were not set for them. However the actual code ignored custom tls cert path and macaroon path if loopdir and/or network was changed. For instance, the following call: loop --network regtest --tlscertpath tls.cert --macaroonpath loop.macaroon resulted in using ~/.loop/regtest/tls.cert and ~/.loop/regtest/loop.macaroon instead of the files provided. This commit fixes the code to match the description in the comment. Also the comment was updated to mention custom network setting in addition to custom loopdir. |
||
---|---|---|
.. | ||
loop | ||
loopd |