near / near-cli

General purpose command line tools for interacting with NEAR Protocol
https://docs.near.org
MIT License
193 stars 94 forks source link

(Minor) Remove phrase in delete account message #1081

Closed mikedotexe closed 8 months ago

mikedotexe commented 8 months ago

This reverts commit 76b2742ee7fb0f0f690dd0110e3e70dd2a5444a0.

When I go to delete an account and give the remaining tokens to a beneficiary, it gives a warning that is not correct, and might be concerning to new developers.

It says, "Beneficiary account must already be initialized in order to transfer all Near tokens or these will be lost."

In truth, if the beneficiary account hasn't been set up on yet, NEAR CLI will not proceed. See this screenshot, where I am attempting to delete delme.mike.testnet and give it a non-existent account name:

Screenshot 2024-01-22 at 4 07 18 PM

Minor stuff, just trying to make sure the wording doesn't cause undue concern for new builders, as they shouldn't worry about losing funds after all.