Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Minor fixes
Sebastian Martinez committed 4 years ago
commit d439016806dfc233ec503f94b39a56588057788a
parent 6a9dda2cc483f8ed7e42fa935e6f5aaa6755ab4f
2 files changed +2 -2
modified src/base/registrations/resolver.ts
@@ -10,7 +10,7 @@ export async function setRecords(name: string, records: EnsRecord[], resolver: E
  assert(config.signer, "no signer available");

  const resolverContract = new ethers.Contract(resolver.address, config.abi.resolver, config.signer);
-
  const node = ethers.utils.namehash(`${name}`);
+
  const node = ethers.utils.namehash(name);

  const calls = [];
  const iface = new ethers.utils.Interface(config.abi.resolver);
modified src/utils.ts
@@ -312,7 +312,7 @@ export async function identifyAddress(address: string, config: Config): Promise<

// Resolve a label under the radicle domain.
export async function resolveLabel(label: string | undefined, config: Config): Promise<string | null> {
-
  if (label) return config.provider.resolveName(`${label}`);
+
  if (label) return config.provider.resolveName(label);
  return null;
}