Skip to content
Snippets Groups Projects
Commit c83d5c16 authored by vjrj's avatar vjrj
Browse files

Better comments

parent f062c2e2
No related branches found
No related tags found
No related merge requests found
...@@ -425,10 +425,10 @@ Future<http.Response> _requestWithRetry( ...@@ -425,10 +425,10 @@ Future<http.Response> _requestWithRetry(
Future<String> pay( Future<String> pay(
{required String to, required double amount, String? comment}) async { {required String to, required double amount, String? comment}) async {
final List<Node> nodes = nodesWorkingList(NodeType.gva); final List<Node> nodes = nodesWorkingList(NodeType.gva);
// reorder list to use others
if (nodes.isNotEmpty) { if (nodes.isNotEmpty) {
// reorder list to use others
// nodes.shuffle(); // nodes.shuffle();
// no hay Retry? // TODO(vjrj) implement some retry if some error arises?
try { try {
final String node = nodes.first.url; final String node = nodes.first.url;
final Gva gva = Gva(node: node); final Gva gva = Gva(node: node);
......
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