diff --git a/packages/loot-core/src/server/accounts/transfer.ts b/packages/loot-core/src/server/accounts/transfer.ts index 30d47569f42..f9c81048378 100644 --- a/packages/loot-core/src/server/accounts/transfer.ts +++ b/packages/loot-core/src/server/accounts/transfer.ts @@ -26,9 +26,8 @@ async function clearCategory(transaction, transferAcct) { [transferAcct], ); - // We should clear the category to make sure it's not being - // accounted for in the budget, unless it should be in the case of - // transferring from an on-budget to off-budget account + // If the transfer is between two on-budget or two off-budget accounts, + // we should clear the category, because the category is not relevant if (fromOffBudget === toOffBudget) { await db.updateTransaction({ id: transaction.id, category: null }); if (transaction.transfer_id) {