From 54bded64e8df87323d7c78d037b544b6c3c93ae4 Mon Sep 17 00:00:00 2001 From: PBSA Github Manager Date: Fri, 26 May 2017 22:37:58 -0300 Subject: [PATCH] Update wallet.cpp --- libraries/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/wallet/wallet.cpp b/libraries/wallet/wallet.cpp index d7a1d322..64fca8fa 100644 --- a/libraries/wallet/wallet.cpp +++ b/libraries/wallet/wallet.cpp @@ -3379,7 +3379,7 @@ brain_key_info wallet_api::suggest_brain_key()const return result; } -pair wallet_api::get_private_key_from_password( string password, string account, string role )const { +pair 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() );