From bdab0cf58c2ac1b90ba2723e8f9ddc1817b3d811 Mon Sep 17 00:00:00 2001 From: Gregory Maxwell Date: Fri, 24 Aug 2012 02:44:51 -0400 Subject: Avoid leaving return types or function attributes on their own lines. --- src/rpcwallet.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/rpcwallet.cpp') 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."); -- cgit v1.2.3