Skip to content

Commit

Permalink
TXN-1283: Fix return type of groupTransactionsBySender (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
drichar authored Mar 23, 2023
1 parent 28695af commit 07ae640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/base/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ abstract class BaseClient {
}
acc[sender].push(obj)
return acc
}, {} as { [sender: string]: TxnInfo[] })
}, {} as Record<string, Array<TxnInfo>>)
}

const decodedGroup = transactions.reduce((acc: TxnInfo[], [type, txn], index) => {
Expand Down

0 comments on commit 07ae640

Please sign in to comment.