-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Description
When setting up loop to run on testnet, loop should adjust file paths appropriately. When I start loop in testnet mode, I should be able to run the command loop out
using testnet.
Actual behavior
Either the software knows testnet or mainnet is running, or there should be a flag similar to lncli --network=testnet
To reproduce
Start Loop like so:
nohup loopd --lnd.host=$LND_NODE_IP --lnd.macaroonpath=$CRED_PATH/admin.macaroon --lnd.tlspath=$CRED_PATH/tls.cert --network=testnet > ~/loopd.log &
Try running a loop out
:
loop out --amt=250000
[loop] unable to read macaroon path : open /home/lnuser/.loop/mainnet/loop.macaroon: no such file or directory
I have been able to work around this problem however by linking:
ln -s ~/.loop/testnet/ ~/.loop/mainnet
However once I do this, everything seems good!
System information
standalone
no
cli
Loop master
x64
ubuntu
Metadata
Metadata
Assignees
Labels
No labels