Skip to content

Commit

Permalink
Merge pull request #159 from jc23424/wallet-accounts
Browse files Browse the repository at this point in the history
Experiment with re-enabling accounts
  • Loading branch information
BlueSilver22 authored Jun 21, 2018
2 parents 4045199 + 6b1eaf5 commit b27c722
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ void WalletTxToJSON(const CWalletTx& wtx, UniValue& entry)
string AccountFromValue(const UniValue& value)
{
string strAccount = value.get_str();
if (strAccount != "")
throw JSONRPCError(RPC_WALLET_ACCOUNTS_UNSUPPORTED, "Accounts are unsupported");
return strAccount;
}

Expand Down

0 comments on commit b27c722

Please sign in to comment.