#279 randomly test fall
This commit is contained in:
parent
4efa7e4fb8
commit
ae5237a781
1 changed files with 6 additions and 0 deletions
|
|
@ -60,8 +60,14 @@ public:
|
||||||
create_tx = fixture_.con.wallet_api_ptr->create_account_with_brain_key(
|
create_tx = fixture_.con.wallet_api_ptr->create_account_with_brain_key(
|
||||||
bki.brain_priv_key, account_name, "nathan", "nathan", true
|
bki.brain_priv_key, account_name, "nathan", "nathan", true
|
||||||
);
|
);
|
||||||
|
|
||||||
|
fixture_.generate_block();
|
||||||
|
|
||||||
// save the private key for this new account in the wallet file
|
// save the private key for this new account in the wallet file
|
||||||
BOOST_CHECK(fixture_.con.wallet_api_ptr->import_key(account_name, bki.wif_priv_key));
|
BOOST_CHECK(fixture_.con.wallet_api_ptr->import_key(account_name, bki.wif_priv_key));
|
||||||
|
|
||||||
|
fixture_.generate_block();
|
||||||
|
|
||||||
fixture_.con.wallet_api_ptr->save_wallet_file(fixture_.con.wallet_filename);
|
fixture_.con.wallet_api_ptr->save_wallet_file(fixture_.con.wallet_filename);
|
||||||
|
|
||||||
// attempt to give son account some CORE tokens
|
// attempt to give son account some CORE tokens
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue