mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 09:50:36 +01:00
Change default macaroon path to mainnet (#105)
This commit is contained in:
parent
52ac702fee
commit
aa124ab8cc
@ -16,15 +16,15 @@ const setDefaultConfig = () => {
|
||||
var lndConfigPath = '';
|
||||
switch (platform) {
|
||||
case 'win32':
|
||||
macaroonPath = homeDir + '\\AppData\\Local\\Lnd\\data\\chain\\bitcoin\\testnet';
|
||||
macaroonPath = homeDir + '\\AppData\\Local\\Lnd\\data\\chain\\bitcoin\\mainnet';
|
||||
lndConfigPath = homeDir + '\\AppData\\Local\\Lnd\\lnd.conf';
|
||||
break;
|
||||
case 'darwin':
|
||||
macaroonPath = homeDir + '/Library/Application Support/Lnd/data/chain/bitcoin/testnet';
|
||||
macaroonPath = homeDir + '/Library/Application Support/Lnd/data/chain/bitcoin/mainnet';
|
||||
lndConfigPath = homeDir + '/Library/Application Support/Lnd/lnd.conf';
|
||||
break;
|
||||
case 'linux':
|
||||
macaroonPath = homeDir + '/.lnd/data/chain/bitcoin/testnet';
|
||||
macaroonPath = homeDir + '/.lnd/data/chain/bitcoin/mainnet';
|
||||
lndConfigPath = homeDir + '/.lnd/lnd.conf';
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user