still need lrn (upstream?)

This commit is contained in:
zramsay 2023-01-11 12:47:49 -05:00
parent 8eb86556b2
commit 1788c1e4c3
No known key found for this signature in database
GPG Key ID: FECD2DBFAE9DBE63

View File

@ -20,13 +20,8 @@ export const handler = async (argv: Arguments) => {
assert(chainId, 'Invalid Registry Chain ID.'); assert(chainId, 'Invalid Registry Chain ID.');
const registry = new Registry(gqlEndpoint, restEndpoint, chainId); const registry = new Registry(gqlEndpoint, restEndpoint, chainId);
<<<<<<< HEAD
const fee = getGasAndFees(argv, cnsConfig); const fee = getGasAndFees(argv, cnsConfig);
const result = await registry.deleteName({ crn: name }, privateKey, fee); const result = await registry.deleteName({ crn: name }, privateKey, fee);
=======
const fee = getGasAndFees(argv, registryConfig);
const result = await registry.deleteName({ lrn: name }, privateKey, fee);
>>>>>>> 10b20d7 (sed s/crn/lrn/g)
console.log(JSON.stringify(result, undefined, 2)); console.log(JSON.stringify(result, undefined, 2));
} }