From aed24dd508d5b0d89495112b48c259c2e6f318de Mon Sep 17 00:00:00 2001 From: jeremy lee Date: Thu, 13 Jun 2024 19:55:59 -0400 Subject: [PATCH] cleanup --- .../state/v2/supervisor/AccountSupervisor.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/state/v2/supervisor/AccountSupervisor.kt b/src/commonMain/kotlin/exchange.dydx.abacus/state/v2/supervisor/AccountSupervisor.kt index a8ea0f550..80dad36c4 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/state/v2/supervisor/AccountSupervisor.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/state/v2/supervisor/AccountSupervisor.kt @@ -471,9 +471,6 @@ internal open class AccountSupervisor( ) { hash -> val error = helper.parseTransactionResponse(hash) if (error != null) { -// this is where we error out -// because we can't parse tx response since the cctpwithdraw is stored using -// skip processor from a squid route so there's no data Logger.e { "TransactionType.CctpWithdraw error: $error" } callback?.let { it -> helper.send(error, it, hash) } } else { @@ -486,8 +483,6 @@ internal open class AccountSupervisor( // else, transfer noble balance back to dydx ?: run { transferNobleBalance(amount) } } else if (balance["error"] != null) { - val e = balance["error"] - Logger.e({ "error: $e" }) Logger.e { "Error checking noble balance: $response" } } }