From 41f682c2a8bfae9452dc9d96b75a68c4146e19d5 Mon Sep 17 00:00:00 2001 From: PBSA Github Manager Date: Fri, 26 May 2017 22:41:11 -0300 Subject: [PATCH] Update wallet.cpp --- libraries/wallet/wallet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/wallet/wallet.cpp b/libraries/wallet/wallet.cpp index 64fca8fa..48675cd0 100644 --- a/libraries/wallet/wallet.cpp +++ b/libraries/wallet/wallet.cpp @@ -3378,8 +3378,8 @@ brain_key_info wallet_api::suggest_brain_key()const result.pub_key = priv_key.get_public_key(); return result; } - -pair wallet_api::get_private_key_from_password( string account, string role, string password )const { + +pair wallet_api::get_private_key_from_password( string password, string account, string role )const { auto seed = password + account + role; FC_ASSERT( seed.size() ); auto secret = fc::sha256::hash( seed.c_str(), seed.size() );