aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rawtransaction.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2016-10-25 08:04:23 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2017-02-27 20:45:18 +0000
commitbf8a04a165e1c19dffce70a7e5c3fb10b0035d96 (patch)
tree05a869abf04d768c9f31c6bbe98345613166ab28 /src/rpc/rawtransaction.cpp
parent2e518e313b5d5320c16bdb33ebd008b6d30a90f2 (diff)
Reformat touched lines with C++11
Diffstat (limited to 'src/rpc/rawtransaction.cpp')
-rw-r--r--src/rpc/rawtransaction.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp
index 5c75fecac8..ce7afcbe54 100644
--- a/src/rpc/rawtransaction.cpp
+++ b/src/rpc/rawtransaction.cpp
@@ -721,8 +721,9 @@ UniValue signrawtransaction(const JSONRPCRequest& request)
}
}
#ifdef ENABLE_WALLET
- else if (pwallet)
+ else if (pwallet) {
EnsureWalletIsUnlocked(pwallet);
+ }
#endif
// Add previous txouts given in the RPC call: