mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-23 11:04:33 +00:00
resolve merge conflicts
This commit is contained in:
parent
cceab1a036
commit
467f57c74e
4 changed files with 18 additions and 15 deletions
|
@ -196,10 +196,11 @@ class _AddEditNodeViewState extends ConsumerState<AddEditNodeView> {
|
|||
} catch (_) {}
|
||||
break;
|
||||
case Coin.stellar:
|
||||
case Coin.stellarTestnet:
|
||||
case Coin.stellarTestNet:
|
||||
try {
|
||||
testPassed = await testStellarNodeConnection(formData.host!, formData.port!);
|
||||
} catch(_) {}
|
||||
testPassed =
|
||||
await testStellarNodeConnection(formData.host!, formData.port!);
|
||||
} catch (_) {}
|
||||
break;
|
||||
|
||||
case Coin.nano:
|
||||
|
@ -749,7 +750,7 @@ class _NodeFormState extends ConsumerState<NodeForm> {
|
|||
case Coin.banano:
|
||||
case Coin.eCash:
|
||||
case Coin.stellar:
|
||||
case Coin.stellarTestnet:
|
||||
case Coin.stellarTestNet:
|
||||
return false;
|
||||
|
||||
case Coin.ethereum:
|
||||
|
|
|
@ -26,6 +26,7 @@ import 'package:stackwallet/utilities/logger.dart';
|
|||
import 'package:stackwallet/utilities/test_epic_box_connection.dart';
|
||||
import 'package:stackwallet/utilities/test_eth_node_connection.dart';
|
||||
import 'package:stackwallet/utilities/test_monero_node_connection.dart';
|
||||
import 'package:stackwallet/utilities/test_stellar_node_connection.dart';
|
||||
import 'package:stackwallet/utilities/text_styles.dart';
|
||||
import 'package:stackwallet/utilities/util.dart';
|
||||
import 'package:stackwallet/widgets/background.dart';
|
||||
|
@ -172,20 +173,19 @@ class _NodeDetailsViewState extends ConsumerState<NodeDetailsView> {
|
|||
|
||||
case Coin.nano:
|
||||
case Coin.banano:
|
||||
case Coin.tezos:
|
||||
case Coin.stellar:
|
||||
case Coin.stellarTestNet:
|
||||
try {
|
||||
testPassed = await testStellarNodeConnection(node!.host, node.port);
|
||||
} catch(_) {
|
||||
testPassed = false;
|
||||
}
|
||||
try {
|
||||
testPassed = await testStellarNodeConnection(node!.host, node.port);
|
||||
} catch (_) {
|
||||
testPassed = false;
|
||||
}
|
||||
break;
|
||||
case Coin.nano:
|
||||
case Coin.banano:
|
||||
|
||||
case Coin.tezos:
|
||||
throw UnimplementedError();
|
||||
//TODO: check network/node
|
||||
//TODO: check network/node
|
||||
}
|
||||
|
||||
if (testPassed) {
|
||||
|
|
|
@ -262,7 +262,8 @@ extension CoinExt on Coin {
|
|||
case Coin.ethereum:
|
||||
case Coin.eCash:
|
||||
case Coin.stellar:
|
||||
case Coin.stellarTestnet:
|
||||
case Coin.stellarTestNet:
|
||||
case Coin.tezos:
|
||||
return true;
|
||||
|
||||
case Coin.epicCash:
|
||||
|
|
|
@ -29,6 +29,7 @@ import 'package:stackwallet/utilities/logger.dart';
|
|||
import 'package:stackwallet/utilities/test_epic_box_connection.dart';
|
||||
import 'package:stackwallet/utilities/test_eth_node_connection.dart';
|
||||
import 'package:stackwallet/utilities/test_monero_node_connection.dart';
|
||||
import 'package:stackwallet/utilities/test_stellar_node_connection.dart';
|
||||
import 'package:stackwallet/utilities/text_styles.dart';
|
||||
import 'package:stackwallet/utilities/util.dart';
|
||||
import 'package:stackwallet/widgets/conditional_parent.dart';
|
||||
|
@ -199,7 +200,7 @@ class _NodeCardState extends ConsumerState<NodeCard> {
|
|||
case Coin.stellarTestNet:
|
||||
try {
|
||||
testPassed = await testStellarNodeConnection(node.host, node.port);
|
||||
} catch(_) {
|
||||
} catch (_) {
|
||||
testPassed = false;
|
||||
}
|
||||
break;
|
||||
|
@ -207,7 +208,7 @@ class _NodeCardState extends ConsumerState<NodeCard> {
|
|||
case Coin.nano:
|
||||
case Coin.banano:
|
||||
throw UnimplementedError();
|
||||
//TODO: check network/node
|
||||
//TODO: check network/node
|
||||
}
|
||||
|
||||
if (testPassed) {
|
||||
|
|
Loading…
Reference in a new issue