mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
simplewallet: cleanup
Remove empty static function which was refactored, as well as leftover exception testing code.
This commit is contained in:
parent
a9a9b64b13
commit
3471907160
1 changed files with 0 additions and 5 deletions
|
@ -890,10 +890,6 @@ void simple_wallet::print_seed(std::string seed)
|
|||
std::cout << seed << std::endl;
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
static bool is_local_daemon(const std::string &address)
|
||||
{
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
||||
{
|
||||
if (!handle_command_line(vm))
|
||||
|
@ -4302,7 +4298,6 @@ int main(int argc, char* argv[])
|
|||
const bool r = w.init(*vm);
|
||||
CHECK_AND_ASSERT_MES(r, 1, sw::tr("Failed to initialize wallet"));
|
||||
|
||||
try{ throw 1; } catch(...){}
|
||||
std::vector<std::string> command = command_line::get_arg(*vm, arg_command);
|
||||
if (!command.empty())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue