This repository was archived by the owner on Feb 23, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import RNiCloudStorage from 'react-native-icloudstore';
2626import { NavigationActions , StackActions } from 'react-navigation' ;
2727import { nap } from '../helper' ;
2828import store from '../store' ;
29+ import { LND_NETWORK } from '../config' ;
2930import AppStorage from './app-storage' ;
3031import IpcAction from './ipc-mobile' ;
3132import GrpcAction from './grpc-mobile' ;
@@ -49,6 +50,7 @@ import AtplAction from './autopilot';
4950// Inject dependencies
5051//
5152
53+ store . network = LND_NETWORK ; // set to read SCB file for restore
5254store . init ( ) ; // initialize computed values
5355
5456export const db = new AppStorage ( store , AsyncStorage ) ;
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ module.exports.ATPL_DELAY = 60 * 60 * 1000;
1010module . exports . PAYMENT_TIMEOUT = 60 * 1000 ;
1111module . exports . POLL_STORE_TIMEOUT = 100 ;
1212
13+ module . exports . LND_NETWORK = 'testnet' ;
1314module . exports . LND_PORT = 10006 ;
1415module . exports . LND_PEER_PORT = 10016 ;
1516module . exports . LND_REST_PORT = 8086 ;
You can’t perform that action at this time.
0 commit comments