feat: Add transfer finalize
This commit is contained in:
@@ -276,11 +276,6 @@ async function transferLock(name) {
|
||||
async function finalizeLock(name) {
|
||||
const {db, context} = await setupCLI();
|
||||
|
||||
await confirm(
|
||||
`Your transfer of ${name} to the locking script will be finalized. ` +
|
||||
'This can be undone, but requires additional on-chain transactions. Do you wish to continue?',
|
||||
);
|
||||
|
||||
const nameState = await db.getOutboundNameState(name);
|
||||
if (nameState === null) {
|
||||
die(`Name ${name} not found.`);
|
||||
@@ -318,10 +313,6 @@ async function finalizeLock(name) {
|
||||
}
|
||||
|
||||
async function transferLockCancel(name) {
|
||||
await confirm(
|
||||
`Your transfer of ${name} to the locking script will be cancelled. You will need to finalize this ` +
|
||||
'transfer to regain ownership of the name. Do you wish to continue?',
|
||||
);
|
||||
|
||||
const {db, context} = await setupCLI();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user