diff --git a/packages/cli/src/handlers/wallet.ts b/packages/cli/src/handlers/wallet.ts index 2c1246d..82b88c6 100644 --- a/packages/cli/src/handlers/wallet.ts +++ b/packages/cli/src/handlers/wallet.ts @@ -366,7 +366,7 @@ async function renameWalletHandler(input: string[]) { type: "confirm", message: `Are you sure you want to remove wallet ${State.wallets.currentWallet?.name}?`, }); - if (confirmed) { + if (confirmed.confirm) { await State.wallets.renameWallet(State.wallets.currentWallet?.name, newName); await title(); }