diff options
author | Gregory Maxwell <greg@xiph.org> | 2012-08-24 02:44:51 -0400 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2012-08-24 02:48:19 -0400 |
commit | bdab0cf58c2ac1b90ba2723e8f9ddc1817b3d811 (patch) | |
tree | d7b42a24e6c194d7b9a86a2d27dd320b9d1b02d2 /src/rpcwallet.cpp | |
parent | 0050cf21ce2a3a3c032817e661f813ccaf25f430 (diff) |
Avoid leaving return types or function attributes on their own lines.
Diffstat (limited to 'src/rpcwallet.cpp')
-rw-r--r-- | src/rpcwallet.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 95fa6718d9..2e284b07df 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -15,16 +15,14 @@ using namespace std; int64 nWalletUnlockTime; static CCriticalSection cs_nWalletUnlockTime; -std::string -HelpRequiringPassphrase() +std::string HelpRequiringPassphrase() { return pwalletMain->IsCrypted() ? "\nrequires wallet passphrase to be set with walletpassphrase first" : ""; } -void -EnsureWalletIsUnlocked() +void EnsureWalletIsUnlocked() { if (pwalletMain->IsLocked()) throw JSONRPCError(-13, "Error: Please enter the wallet passphrase with walletpassphrase first."); |