Skip to content

Commit

Permalink
Merge pull request #2889 from steemit/2018-09-11-fix-wallet-typo-2876
Browse files Browse the repository at this point in the history
wallet.cpp:  Fix typo introduced in #2876
  • Loading branch information
Michael Vandeberg authored Sep 11, 2018
2 parents dead33e + fd2f7ce commit b3f6b59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -700,15 +700,15 @@ class wallet_api_impl
{
auto maybe_account = get_account_from_lut( account_name );
if( maybe_account.valid() )
return (*maybe_account)->active;
return (*maybe_account)->owner;

return null_auth;
},
[&]( const string& account_name ) -> const authority&
{
auto maybe_account = get_account_from_lut( account_name );
if( maybe_account.valid() )
return (*maybe_account)->active;
return (*maybe_account)->posting;

return null_auth;
},
Expand Down

0 comments on commit b3f6b59

Please sign in to comment.