Allow index calc as fallback (#391)
This commit is contained in:
@@ -53,7 +53,7 @@ export default class ApiBase {
|
||||
}
|
||||
|
||||
try {
|
||||
// FIXME This now gets done in api-core/rpc-core as well, cleanup as soon as we
|
||||
// FIXME This now gets done in api/Base as well, cleanup as soon as we
|
||||
// have apis based on api-rx & api-promise (For now a bit of inefficiency)
|
||||
const meta = await this._api.state.getMetadata().toPromise();
|
||||
|
||||
@@ -70,7 +70,7 @@ export default class ApiBase {
|
||||
resolveReady(true);
|
||||
}
|
||||
} catch (error) {
|
||||
// swallow
|
||||
console.error(error);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user