We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c44c97e commit 26b08f5Copy full SHA for 26b08f5
src/sdk/market/MarketRegister.ts
@@ -199,7 +199,7 @@ export class MarketRegister extends SDKConstruct {
199
throw new Error(`cannot find market for price oracle ${address}`);
200
}
201
202
- public async findByPool(address: Address): Promise<MarketSuite> {
+ public findByPool(address: Address): MarketSuite {
203
const addr = address.toLowerCase();
204
for (const market of this.markets) {
205
if (market.pool.pool.address.toLowerCase() === addr) {
0 commit comments