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();