bitshares / bitshares1-core

Software to run the old chain (before 2015-10-13). Code for current chain is https://github.com/bitshares/bitshares-core
https://bitshares.org/
The Unlicense
219 stars 174 forks source link

why the command wallet_import_private_key does this on testnet? to how to start the testnet? thanks #1530

Closed CompileMaster closed 9 years ago

CompileMaster commented 9 years ago

keys in dev-test-keys.txt can't be import to the wallet.

wallet_import_private_key 5Jh2tEhMchUkBZqX6SXNn6pjAZDT2vPHU2YLYW1jAvaBC4zdD8A

10 assert_exception: Assert Exception account_name.valid(): Unknown key! You must specify an account name! {} bitshares wallet.cpp:1337 bts::wallet::wallet::import_private_key

{"account_name":null,"create_new_account":false}
bitshares  wallet.cpp:1368 bts::wallet::wallet::import_private_key

{"account_name":null}
bitshares  wallet.cpp:1387 bts::wallet::wallet::import_wif_private_key

{}
bitshares  common_api_client.cpp:2943 bts::rpc_stubs::common_api_client::wallet_import_private_key

{"command":"wallet_import_private_key"}
bitshares  cli.cpp:626 bts::cli::detail::cli_impl::execute_command
xeroc commented 9 years ago

Try

wallet_account_create foobar
wallet_import_private_key 5Jh2tEhMchUkBZqX6SXNn6pjAZDT2vPHU2YLYW1jAvaBC4zdD8A foobar

instead