Skip to content

Commit

Permalink
Diasble custody integration
Browse files Browse the repository at this point in the history
  • Loading branch information
philipliu committed Feb 23, 2025
1 parent b8e0d8d commit df18528
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ class DepositService(private val cfg: Config, private val paymentClient: Payment
transaction = sep24.getTransaction(transactionId)
log.info { "Transaction status changed: $transaction" }

if (cfg.appSettings.custodyEnabled) {
// TODO: custody needs to be disabled for contract accounts
if (cfg.appSettings.custodyEnabled && !account.startsWith("C")) {
// 5. Send Stellar transaction using Custody Server
sendCustodyStellarTransaction(transactionId)

Expand Down

0 comments on commit df18528

Please sign in to comment.