Delete already processed slate

This commit is contained in:
Likho 2022-08-30 07:57:48 -05:00
parent 652da68e25
commit 345889c566

View file

@ -1659,7 +1659,10 @@ class EpicCashWallet extends CoinServiceAPI {
if (response.contains("Error Wallet store error: DB Not Found Error")) { if (response.contains("Error Wallet store error: DB Not Found Error")) {
//Already processed - to be deleted //Already processed - to be deleted
//TODO - DELETE ALREADY PROCESSED SLATE //TODO - DELETE ALREADY PROCESSED SLATE
Logging.instance.log("SLATE ALREADY PROCESSED - NEEDS TO BE DELETED $response", Logging.instance.log("DELETING_PROCESSED_SLATE",
level: LogLevel.Info);
final slateDelete = await deleteSlate(currentAddress, subscribeRequest['signature'] as String, slate as String);
Logging.instance.log("DELETE_SLATE_RESPONSE $slateDelete",
level: LogLevel.Info); level: LogLevel.Info);
} else { } else {
var decodedResponse = json.decode(response); var decodedResponse = json.decode(response);