mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-19 01:04:43 +00:00
[skip ci] minor
This commit is contained in:
parent
8dc1ed6363
commit
a5db347b72
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ class CwMweb {
|
||||||
nodeUriOverride = uri;
|
nodeUriOverride = uri;
|
||||||
if (_rpcClient != null) {
|
if (_rpcClient != null) {
|
||||||
await stop();
|
await stop();
|
||||||
await _initializeClient();
|
// will be re-started automatically when the next rpc call is made
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class CwMweb {
|
||||||
String debugLogPath = "${appDir.path}/logs/debug.log";
|
String debugLogPath = "${appDir.path}/logs/debug.log";
|
||||||
readFileWithTimer(debugLogPath);
|
readFileWithTimer(debugLogPath);
|
||||||
|
|
||||||
_port = await CwMwebPlatform.instance.start(appDir.path, ltcNodeUri);
|
_port = await CwMwebPlatform.instance.start(appDir.path, nodeUriOverride ?? ltcNodeUri);
|
||||||
if (_port == null || _port == 0) {
|
if (_port == null || _port == 0) {
|
||||||
throw Exception("Failed to start server");
|
throw Exception("Failed to start server");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue