Go through this article:
http://wiki.bitshares.org/index.php/RecoveringFunds
i had do this many times .
and the command is not right?
the help about wallet_regenerate_keys is :
>> help wallet_regenerate_keys
Usage:
wallet_regenerate_keys <account_name> <max_key_number> regenerates private keys as part of wallet recovery
regenerates private keys as part of wallet recovery
Parameters:
account_name (account_name, required): the account the generated keys should be a part of
max_key_number (uint32_t, required): the last key number to regenrate
Returns:
int32_t
and the wiki is :
wallet_regenerate_keys TXID