mirror of
https://github.com/status-im/status-react.git
synced 2025-01-23 01:09:49 +00:00
[fix #2925] Fix messed-up merge in b87a52e2d
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
parent
9631552251
commit
1c5cf7fe4b
@ -229,7 +229,7 @@ class StatusModule extends ReactContextBaseJavaModule implements LifecycleEventL
|
|||||||
Log.d(TAG, "StartNode result: " + res);
|
Log.d(TAG, "StartNode result: " + res);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Log.e(TAG, "StartNode result: " + res);
|
Log.e(TAG, "StartNode failed: " + res);
|
||||||
}
|
}
|
||||||
Log.d(TAG, "Geth node started");
|
Log.d(TAG, "Geth node started");
|
||||||
status.sendMessage();
|
status.sendMessage();
|
||||||
|
@ -203,7 +203,7 @@ RCT_EXPORT_METHOD(startNode:(NSString *)configString) {
|
|||||||
[resultingConfigJson setValue:newKeystoreUrl.path forKey:@"KeyStoreDir"];
|
[resultingConfigJson setValue:newKeystoreUrl.path forKey:@"KeyStoreDir"];
|
||||||
[resultingConfigJson setValue:[NSNumber numberWithBool:[logLevel length] != 0] forKey:@"LogEnabled"];
|
[resultingConfigJson setValue:[NSNumber numberWithBool:[logLevel length] != 0] forKey:@"LogEnabled"];
|
||||||
[resultingConfigJson setValue:logUrl.path forKey:@"LogFile"];
|
[resultingConfigJson setValue:logUrl.path forKey:@"LogFile"];
|
||||||
[resultingConfigJson setValue:([logLevel length] == 0 ? "ERROR" : logLevel) forKey:@"LogLevel"];
|
[resultingConfigJson setValue:([logLevel length] == 0 ? [NSString stringWithUTF8String: "ERROR"] : logLevel) forKey:@"LogLevel"];
|
||||||
|
|
||||||
if(upstreamURL != nil) {
|
if(upstreamURL != nil) {
|
||||||
[resultingConfigJson setValue:[NSNumber numberWithBool:YES] forKeyPath:@"UpstreamConfig.Enabled"];
|
[resultingConfigJson setValue:[NSNumber numberWithBool:YES] forKeyPath:@"UpstreamConfig.Enabled"];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user