This commit is contained in:
sneurlax 2023-01-05 20:03:38 -06:00
parent 903e034b58
commit ad15f4d126

View file

@ -70,15 +70,13 @@ class _NodeDetailsViewState extends ConsumerState<NodeDetailsView> {
switch (coin) { switch (coin) {
case Coin.epicCash: case Coin.epicCash:
try { try {
testPassed = await testEpicNodeConnection(
testPassed = await testEpicNodeConnection( NodeFormData()
NodeFormData() ..host = node!.host
..host = node!.host ..useSSL = node.useSSL
..useSSL = node.useSSL ..port = node.port,
..port = node.port, ) !=
) != null;
null;
} catch (e, s) { } catch (e, s) {
Logging.instance.log("$e\n$s", level: LogLevel.Warning); Logging.instance.log("$e\n$s", level: LogLevel.Warning);
testPassed = false; testPassed = false;