#313 son deposit manually #658

Merged
vampik merged 4 commits from feature/313-son-deposit-manually into develop 2022-03-08 23:21:29 +00:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit d19520c186 - Show all commits

@ -1 +1 @@
Subproject commit 1cc740598f5b7ec480ac76f60e19d0ccb1e1ac97
Subproject commit 6171e973c7fcfc9e0a39eaee2f05da84416a90e6

View file

@ -60,8 +60,14 @@ public:
create_tx = fixture_.con.wallet_api_ptr->create_account_with_brain_key(
bki.brain_priv_key, account_name, "nathan", "nathan", true
);
fixture_.generate_block();
// 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));
fixture_.generate_block();
fixture_.con.wallet_api_ptr->save_wallet_file(fixture_.con.wallet_filename);
// attempt to give son account some CORE tokens