fix prettier

This commit is contained in:
Adrian Brzeziński 2024-06-27 23:53:17 +02:00
parent 8f0e843039
commit b062a71582
1 changed files with 5 additions and 1 deletions

View File

@ -5315,7 +5315,11 @@ export class MangoClient {
const oracles: PublicKey[] = [];
const fallbacks: PublicKey[] = [];
Array.from(group.banksMapByTokenIndex.values()).forEach((b) => {
if ((this.fallbackOracleConfig as PublicKey[]).find((o) => o.toBase58() === b[0].oracle.toBase58())) {
if (
(this.fallbackOracleConfig as PublicKey[]).find(
(o) => o.toBase58() === b[0].oracle.toBase58(),
)
) {
oracles.push(b[0].oracle);
fallbacks.push(b[0].fallbackOracle);
}