Switch to SSL for Cake's Electrum and Monero nodes (#1899)

* Force SSL for Electrum and Monero nodes
Some Cleanup

* minor [skip ci]

* potential fix for transactions not cleared correctly [skip ci]

* minor fix [skip ci]
This commit is contained in:
Omar Hatem
2024-12-25 21:27:46 +02:00
committed by GitHub
parent b79ef988c8
commit c6b9f054cc
7 changed files with 49 additions and 55 deletions
@@ -1,4 +1,5 @@
import 'dart:convert';
import 'dart:math';
import 'package:convert/convert.dart';
@@ -13,4 +14,8 @@ extension StringParsing on String {
return this;
}
String safeSubString(int start, int end) {
return this.substring(0, min(this.toString().length, 12));
}
}