Update src/deployments.ts #3
@ -25,7 +25,7 @@ export const getRegistry = (): Registry => {
|
||||
//TODO(telackey): Use a pool.
|
||||
return new Registry(
|
||||
laconicConfig.services?.registry?.gqlEndpoint,
|
||||
laconicConfig.services?.registry?.restEndpoint,
|
||||
laconicConfig.services?.registry?.rpcEndpoint,
|
||||
laconicConfig.services?.registry?.chainId,
|
||||
);
|
||||
};
|
||||
|
@ -85,7 +85,7 @@ export class RegHelper {
|
||||
if (!idOrName) {
|
||||
return null;
|
||||
}
|
||||
if (idOrName.startsWith('crn:')) {
|
||||
if (idOrName.startsWith('lrn:')) {
|
||||
return this.resolveName(idOrName);
|
||||
}
|
||||
return this.getRecordById(idOrName);
|
||||
|
Loading…
Reference in New Issue
Block a user