diff --git a/libraries/wallet/wallet.cpp b/libraries/wallet/wallet.cpp index e5d29c8e..9d00390e 100644 --- a/libraries/wallet/wallet.cpp +++ b/libraries/wallet/wallet.cpp @@ -2685,11 +2685,12 @@ bool wallet_api::import_account_keys( string filename, string password, string s const auto plain_text = fc::aes_decrypt( password_hash, encrypted_key ); const auto private_key = fc::raw::unpack( plain_text ); - import_key( dest_account_name, string( graphene::utilities::key_to_wif( private_key ) ) ); + my->import_key( dest_account_name, string( graphene::utilities::key_to_wif( private_key ) ) ); } return true; } + save_wallet_file(); FC_ASSERT( found_account );