Update wallet.cpp

This commit is contained in:
PBSA Github Manager 2017-05-26 22:37:58 -03:00 committed by GitHub
parent d94d019617
commit 54bded64e8

View file

@ -3379,7 +3379,7 @@ brain_key_info wallet_api::suggest_brain_key()const
return result;
}
pair<public_key_type,string> wallet_api::get_private_key_from_password( string password, string account, string role )const {
pair<public_key_type,string> wallet_api::get_private_key_from_password( string account, string role, string password )const {
auto seed = password + account + role;
FC_ASSERT( seed.size() );
auto secret = fc::sha256::hash( seed.c_str(), seed.size() );