Skip to content

Commit 4c68fb6

Browse files
committed
prettier fix
1 parent 492c841 commit 4c68fb6

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

target_chains/sui/sdk/js/src/SuiPriceServiceConnection.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
2-
HermesClient,
3-
HexString,
4-
PriceUpdate,
2+
HermesClient,
3+
HexString,
4+
PriceUpdate,
55
} from "@pythnetwork/hermes-client";
66
import { Buffer } from "buffer";
77

@@ -16,7 +16,12 @@ export class SuiPriceServiceConnection extends HermesClient {
1616
*/
1717
async getPriceFeedsUpdateData(priceIds: HexString[]): Promise<Buffer[]> {
1818
// Fetch the latest price feed update VAAs from the price service
19-
const updateData: PriceUpdate = await this.getLatestPriceUpdates(priceIds, { encoding: "base64", parsed: false });
20-
return updateData.binary.data.map((update) => Buffer.from(update, "base64"));
19+
const updateData: PriceUpdate = await this.getLatestPriceUpdates(priceIds, {
20+
encoding: "base64",
21+
parsed: false,
22+
});
23+
return updateData.binary.data.map((update) =>
24+
Buffer.from(update, "base64"),
25+
);
2126
}
2227
}

0 commit comments

Comments
 (0)