From 2215d9d9196ded97694fab3e08c5a8f3b18be764 Mon Sep 17 00:00:00 2001 From: likho Date: Wed, 11 Oct 2023 14:55:40 +0200 Subject: [PATCH] Clean up, remove unused functions --- .../coins/epiccash/epiccash_wallet.dart | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/lib/services/coins/epiccash/epiccash_wallet.dart b/lib/services/coins/epiccash/epiccash_wallet.dart index d8b622524..e2c2d9d84 100644 --- a/lib/services/coins/epiccash/epiccash_wallet.dart +++ b/lib/services/coins/epiccash/epiccash_wallet.dart @@ -951,28 +951,6 @@ class EpicCashWallet extends CoinServiceAPI } } - Future> removeBadAndRepeats( - Map pendingAndProcessedSlates) async { - var clone = >{}; - for (var indexPair in pendingAndProcessedSlates.entries) { - clone[indexPair.key] = {}; - for (var pendingProcessed - in (indexPair.value as Map).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> getSlatesToCommits() async { try { var slatesToCommits = epicGetSlatesToCommits();