From 8e8217fa2b3474819f822eb8e17dcc3cc8412d32 Mon Sep 17 00:00:00 2001 From: Nicolas Villanueva Date: Fri, 4 Aug 2023 14:50:40 +0200 Subject: [PATCH] docs: fix incorrect command name for confirming withdrawals (#33) --- README.md | 2 +- src/help.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b70cbc51..a5bf3c32 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ You can install this program globally with `npm i -g zksync-cli` or run the comm - `zksync-cli withdraw`: withdraws funds from zkSync 2.0 to L1 (Goerli testnet). It will ask to enter: network, recipient wallet, amount in ETH (eg 0.1) and the private key of the wallet you're sending the funds from. -- `zksync-cli confirm-withdrawal`: confirms withdrawal of funds from zkSync 2.0 to L1 (Goerli testnet). It will ask to enter: network, withdrawal transaction address and the private key of the wallet you sent the funds from. +- `zksync-cli confirm-withdraw`: confirms withdrawal of funds from zkSync 2.0 to L1 (Goerli testnet). It will ask to enter: network, withdrawal transaction address and the private key of the wallet you sent the funds from. - `zksync-cli --help`: Provides detailed information about how to use a specific command. Replace with the name of the command you want help with (e.g., create, deposit, withdraw, confirm-withdraw). diff --git a/src/help.ts b/src/help.ts index 57783180..5f2b5c51 100644 --- a/src/help.ts +++ b/src/help.ts @@ -21,7 +21,7 @@ export default async function () { console.log( `Withdraws funds from zkSync Era to L1. It will prompt for the network (localnet, testnet, mainnet), recipient wallet, amount in ETH (e.g., 0.1), and the private key of the wallet sending funds.\n` ); - console.log(chalk.greenBright(`confirm-withdrawal`)); + console.log(chalk.greenBright(`confirm-withdraw`)); console.log( `Confirms the withdrawal of funds from zkSync to Layer 1. It will prompt for the network (localnet, testnet, mainnet), the transaction address of the withdrawal, and the private key of the wallet initiating the confirmation.\n` );