Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yogurtandjam committed Jun 13, 2024
1 parent f0d9c11 commit aed24dd
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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" }
}
}
Expand Down

0 comments on commit aed24dd

Please sign in to comment.