Skip to content

Commit

Permalink
using const
Browse files Browse the repository at this point in the history
  • Loading branch information
KolevDarko committed Aug 30, 2022
1 parent fecd146 commit 244c99d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -67,7 +67,7 @@ export class SuperFluidInfoRetriever {
return paymentEvents;
}
// if last event is ongoing stream then create end of stream to help compute balance
let lastEventOngoing = streamEvents[streamEvents.length - 1].flowRate > 0;
const lastEventOngoing = streamEvents[streamEvents.length - 1].flowRate > 0;
if (lastEventOngoing) {
streamEvents.push({
oldFlowRate: streamEvents[streamEvents.length - 1].flowRate,
Expand Down

0 comments on commit 244c99d

Please sign in to comment.