Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LawsonGraham committed Jan 13, 2025
1 parent 81a53fa commit 3555d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/echelon_balances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function isLiquidateEvent(event: any) {
}

function isEchelonEvent(event: any) {
return event.type.includes(`${LENDING_CONTRACT_ADDRESS}::lending::`);
return event.type.startsWith(`${LENDING_CONTRACT_ADDRESS}::lending::`);
}

async function getExchangeRate(version: number) {
Expand Down

0 comments on commit 3555d84

Please sign in to comment.