mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 03:06:29 +00:00
update ecash default server
This commit is contained in:
parent
b11694220b
commit
8ff9227e48
2 changed files with 8 additions and 4 deletions
|
@ -109,7 +109,9 @@ class JsonRPC {
|
|||
"JsonRPC request: opening socket $host:$port",
|
||||
level: LogLevel.Info,
|
||||
);
|
||||
await connect();
|
||||
await connect().timeout(requestTimeout, onTimeout: () {
|
||||
throw Exception("Request timeout: $jsonRpcRequest");
|
||||
});
|
||||
}
|
||||
} else {
|
||||
if (_socksSocket == null) {
|
||||
|
@ -117,7 +119,9 @@ class JsonRPC {
|
|||
"JsonRPC request: opening SOCKS socket to $host:$port",
|
||||
level: LogLevel.Info,
|
||||
);
|
||||
await connect();
|
||||
await connect().timeout(requestTimeout, onTimeout: () {
|
||||
throw Exception("Request timeout: $jsonRpcRequest");
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -286,8 +286,8 @@ abstract class DefaultNodes {
|
|||
);
|
||||
|
||||
static NodeModel get eCash => NodeModel(
|
||||
host: "electrum.bitcoinabc.org",
|
||||
port: 50002,
|
||||
host: "ecash.stackwallet.com",
|
||||
port: 59002,
|
||||
name: DefaultNodes.defaultName,
|
||||
id: DefaultNodes.buildId(Coin.eCash),
|
||||
useSSL: true,
|
||||
|
|
Loading…
Reference in a new issue