Skip to content

Commit 26b08f5

Browse files
committed
fix: make method sync
1 parent c44c97e commit 26b08f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sdk/market/MarketRegister.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export class MarketRegister extends SDKConstruct {
199199
throw new Error(`cannot find market for price oracle ${address}`);
200200
}
201201

202-
public async findByPool(address: Address): Promise<MarketSuite> {
202+
public findByPool(address: Address): MarketSuite {
203203
const addr = address.toLowerCase();
204204
for (const market of this.markets) {
205205
if (market.pool.pool.address.toLowerCase() === addr) {

0 commit comments

Comments
 (0)