Skip to content
Snippets Groups Projects
Commit cd91ea83 authored by poka's avatar poka
Browse files

refactor substrate_sdk.dart provider file; Add local node entry in settings

parent c487749f
No related branches found
No related tags found
1 merge request!26Features gdev2
Pipeline #16713 waiting for manual action
This diff is collapsed.
......@@ -78,10 +78,13 @@ class SettingsScreen extends StatelessWidget {
final customEndpoint = NetworkParams();
customEndpoint.endpoint = 'Personnalisé';
final localEndpoint = NetworkParams();
localEndpoint.endpoint = 'ws://127.0.0.1:9944';
final automaticEndpoint = NetworkParams();
automaticEndpoint.endpoint = 'Auto';
// duniterBootstrapNodes.add(_sub.getDuniterCustomEndpoint());
duniterBootstrapNodes.insert(0, automaticEndpoint);
duniterBootstrapNodes.add(localEndpoint);
duniterBootstrapNodes.add(customEndpoint);
if (configBox.get('autoEndpoint') == true) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment