mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-16 17:27:39 +00:00
Clean up, remove unused functions
This commit is contained in:
parent
2652df6e27
commit
2215d9d919
1 changed files with 0 additions and 22 deletions
|
@ -951,28 +951,6 @@ class EpicCashWallet extends CoinServiceAPI
|
|||
}
|
||||
}
|
||||
|
||||
Future<Map<dynamic, dynamic>> removeBadAndRepeats(
|
||||
Map<dynamic, dynamic> pendingAndProcessedSlates) async {
|
||||
var clone = <dynamic, Map<dynamic, dynamic>>{};
|
||||
for (var indexPair in pendingAndProcessedSlates.entries) {
|
||||
clone[indexPair.key] = <dynamic, dynamic>{};
|
||||
for (var pendingProcessed
|
||||
in (indexPair.value as Map<dynamic, dynamic>).entries) {
|
||||
if (pendingProcessed.value is String &&
|
||||
(pendingProcessed.value as String)
|
||||
.contains("has already been received") ||
|
||||
(pendingProcessed.value as String)
|
||||
.contains("Error Wallet store error: DB Not Found Error")) {
|
||||
} else if (pendingProcessed.value is String &&
|
||||
pendingProcessed.value as String == "[]") {
|
||||
} else {
|
||||
clone[indexPair.key]?[pendingProcessed.key] = pendingProcessed.value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return clone;
|
||||
}
|
||||
|
||||
Future<Map<dynamic, dynamic>> getSlatesToCommits() async {
|
||||
try {
|
||||
var slatesToCommits = epicGetSlatesToCommits();
|
||||
|
|
Loading…
Reference in a new issue