From b27f8e56923d36728cf2ffc2d33ba528fcb122f5 Mon Sep 17 00:00:00 2001 From: Vincent Chau <99756290+vincentwschau@users.noreply.github.com> Date: Fri, 17 May 2024 17:52:57 -0400 Subject: [PATCH] Add comment. --- indexer/services/socks/src/helpers/from-kafka-helpers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/indexer/services/socks/src/helpers/from-kafka-helpers.ts b/indexer/services/socks/src/helpers/from-kafka-helpers.ts index a4bec08736..38397fbe1b 100644 --- a/indexer/services/socks/src/helpers/from-kafka-helpers.ts +++ b/indexer/services/socks/src/helpers/from-kafka-helpers.ts @@ -138,6 +138,7 @@ function getCandleMessageId(candleMessage: CandleMessage): string { } function getParentSubaccountContents(msg: SubaccountMessage): SubaccountMessageContents { + // Filter out transfers between child subaccounts of the same parent subaccount. const contents: SubaccountMessageContents = JSON.parse(msg.contents) as SubaccountMessageContents; if (contents.transfers === undefined) { return contents;