mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-04-17 19:51:58 +00:00
added port information to xelis connection invocations
This commit is contained in:
parent
4e26e4c246
commit
f7b73620e2
3 changed files with 4 additions and 4 deletions
lib
utilities
wallets
|
@ -304,7 +304,7 @@ Future<bool> testNodeConnection({
|
|||
case Xelis():
|
||||
try {
|
||||
final daemon = xelis_sdk.DaemonClient(
|
||||
endPoint: formData.host!,
|
||||
endPoint: "${formData.host!}:${formData.port!}",
|
||||
secureWebSocket: formData.useSSL ?? false,
|
||||
);
|
||||
daemon.connect();
|
||||
|
|
|
@ -50,7 +50,7 @@ class Xelis extends ElectrumCurrency {
|
|||
switch (network) {
|
||||
case CryptoCurrencyNetwork.main:
|
||||
return NodeModel(
|
||||
host: "127.0.0.1",
|
||||
host: "us-node.xelis.io",
|
||||
port: 443,
|
||||
name: DefaultNodes.defaultName,
|
||||
id: DefaultNodes.buildId(this),
|
||||
|
|
|
@ -301,11 +301,11 @@ abstract class LibXelisWallet<T extends ElectrumCurrency> extends ExternalWallet
|
|||
|
||||
final node = getCurrentNode();
|
||||
Logging.instance.log(
|
||||
"Connecting to node: ${node.host}",
|
||||
"Connecting to node: ${node.host}:${node.port}",
|
||||
level: LogLevel.Info,
|
||||
);
|
||||
await libXelisWallet!.onlineMode(
|
||||
daemonAddress: node.host
|
||||
daemonAddress: "${node.host}:${node.port}"
|
||||
);
|
||||
await super.refresh();
|
||||
} catch (e, s) {
|
||||
|
|
Loading…
Reference in a new issue