From 8dfec20871ba3d6a28c185b2f6011a7ea47a0346 Mon Sep 17 00:00:00 2001 From: Cory Perkins Date: Wed, 10 Oct 2018 12:16:36 -0500 Subject: [PATCH] Changed type of balanceChanges made to an account from an array of one change to an array of 1 change to and array of records with the type of a blanceChange --- src/transaction/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transaction/types.ts b/src/transaction/types.ts index 5bc2042e..39121ba2 100644 --- a/src/transaction/types.ts +++ b/src/transaction/types.ts @@ -66,11 +66,11 @@ export type Outcome = { indexInLedger: number, fee: string, balanceChanges: { - [key: string]: [{ + [key: string]: { currency: string, counterparty?: string, value: string - }] + }[] }, orderbookChanges: object, timestamp?: string