Avoid leaving return types or function attributes on their own lines.

This commit is contained in:
Gregory Maxwell
2012-08-24 02:44:51 -04:00
parent 0050cf21ce
commit bdab0cf58c
6 changed files with 9 additions and 20 deletions

View File

@@ -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.");