Skip to content

Commit

Permalink
Add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwschau committed May 17, 2024
1 parent 986e14c commit b27f8e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions indexer/services/socks/src/helpers/from-kafka-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b27f8e5

Please sign in to comment.