Avoid leaving return types or function attributes on their own lines.
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user